permissions should now be stored correctly on posting
This commit is contained in:
parent
1079c10fa4
commit
2452b822f9
@ -331,7 +331,7 @@ function expand_acl($s) {
|
|||||||
|
|
||||||
if(! function_exists('sanitise_acl')) {
|
if(! function_exists('sanitise_acl')) {
|
||||||
function sanitise_acl(&$item) {
|
function sanitise_acl(&$item) {
|
||||||
if(intval($item))
|
if(strlen($item))
|
||||||
$item = '<' . notags(trim($item)) . '>';
|
$item = '<' . notags(trim($item)) . '>';
|
||||||
else
|
else
|
||||||
unset($item);
|
unset($item);
|
||||||
|
Reference in New Issue
Block a user