pepebe
9/20/2012 - 9:00 AM

MODx: Fix for bug in import access policy in 2.2.4

MODx: Fix for bug in import access policy in 2.2.4

Pullrequest by user bertoost 
https://github.com/modxcms/revolution/pull/337/files

Inside
core/model/modx/processors/security/access/policy/import.class.php

change line 35

            //$permissions[(string)$permissionXml->name] = (boolean)$permissionXml->value;
            $v = (integer) $permissionXml->value;
            $permissions[(string)$permissionXml->name] = (!empty($v) ? true : false);   

Should be resolved in 2.2.5