zikula-modules/Scribite — Issue #29: Typo in permission check
Author: rmaiwald
Created: 2011-11-05 18:09:47+00:00
State: open

Variable substitution in PHP will only be done inside double quotes but not inside single quotes. Thus in pnuser.php, functions scribite_user_run and scribite_user_loader the instance parameter for checkPermission must be double quoted:

... SecurityUtil::checkPermission('scribite::', '$module::', ...

must be

... SecurityUtil::checkPermission('scribite::', "$module::", ...