fix warning about undefined constant

This commit is contained in:
Ralf Becker 2020-06-28 07:51:29 +02:00
parent 642129fa7a
commit f76af52e2b

View File

@ -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';
}
/**