Commit a00ddd79 authored by webchick's avatar webchick

#530950 by catch: Replace iss_null() with isset() - small optimization.

parent 4e614ace
......@@ -723,7 +723,7 @@ function user_access($string, $account = NULL, $reset = FALSE) {
$perm = array();
}
if (is_null($account)) {
if (!isset($account)) {
$account = $user;
}
......
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