zikula-modules/Scribite — pull request #30 by rmaiwald (2011-11-24 20:15:49+00:00)
Title: Typo in permission check

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

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

chaged to

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