From f76af52e2b50f957a2532ff90d852acfe0cadb85 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 28 Jun 2020 07:51:29 +0200 Subject: [PATCH] fix warning about undefined constant --- resources/inc/class.resources_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.resources_bo.inc.php b/resources/inc/class.resources_bo.inc.php index f8e611ef3e..11dca5c4b9 100755 --- a/resources/inc/class.resources_bo.inc.php +++ b/resources/inc/class.resources_bo.inc.php @@ -675,7 +675,7 @@ class resources_bo { return false; } - return $this->acl->is_permitted($data['cat_id'],resources_acl_bo::DIRECT_BOOKING) ? A : U; + return $this->acl->is_permitted($data['cat_id'],resources_acl_bo::DIRECT_BOOKING) ? 'A' : 'U'; } /**