summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-04 06:19:44 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-04 06:19:44 +0000
commita00ddd79ca956eedd1c0d8fc1758df2d8e7e9d93 (patch)
tree451a7a30388fa87a80233bfb057bf0c9a63a931c
parent4e614ace820166d83b4767983404f79b2ba44949 (diff)
downloadbrdo-a00ddd79ca956eedd1c0d8fc1758df2d8e7e9d93.tar.gz
brdo-a00ddd79ca956eedd1c0d8fc1758df2d8e7e9d93.tar.bz2
#530950 by catch: Replace iss_null() with isset() - small optimization.
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 5caa06db4..dbd8b0fdb 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -723,7 +723,7 @@ function user_access($string, $account = NULL, $reset = FALSE) {
$perm = array();
}
- if (is_null($account)) {
+ if (!isset($account)) {
$account = $user;
}