Commit 004e96f2 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #946 fixed an error in ACL checking

parent 33362646
......@@ -876,7 +876,7 @@ class simplePlugin
/*! \brief Can we write the attribute */
function acl_is_writeable($attribute, $skipWrite = FALSE)
{
return preg_match('/w/', $this->aclGetPermissions($attribute, $skipWrite));
return preg_match('/w/', $this->aclGetPermissions($attribute, NULL, $skipWrite));
}
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment