From cf20065ed67a863e0dc4faa4c5e228639c674208 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Wed, 6 Feb 2019 21:19:11 +0100 Subject: [PATCH] added missing constant ADMINPERMS to succeed the getperms check at the beginning of the lancheck.php file. --- tests/unit/lancheckTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/lancheckTest.php b/tests/unit/lancheckTest.php index 5b0da2ec3..e00bcc9ed 100644 --- a/tests/unit/lancheckTest.php +++ b/tests/unit/lancheckTest.php @@ -15,6 +15,8 @@ protected function _before() { + // fix for getperms("L") check in lancheck.php + define('ADMINPERMS', 'L'); require_once(e_ADMIN."lancheck.php");