Commit 54a03ca9 authored by Dries's avatar Dries

- Patch #329646 by Damien Tournoud: properly reset user_access().

parent 2bc3b99b
......@@ -528,7 +528,7 @@ function user_access($string, $account = NULL, $reset = FALSE) {
static $perm = array();
if ($reset) {
unset($perm);
$perm = array();
}
if (is_null($account)) {
......
Markdown is supported
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