diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-14 13:12:58 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-14 13:12:58 +0100 |
commit | 343aa1749f17e62fa68e26193011a5051025881a (patch) | |
tree | 001c2a21a1957bdbbda170f5260be4fa4e8f1331 /lib/exe | |
parent | 25c82f13e0617d3737c89d0235f9f75b1cbb5bf7 (diff) | |
download | rpg-343aa1749f17e62fa68e26193011a5051025881a.tar.gz rpg-343aa1749f17e62fa68e26193011a5051025881a.tar.bz2 |
fix global $AUTH hiding $auth
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/detail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php index cd3f362ad..9981c1d02 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -32,8 +32,8 @@ if($conf['allowdebug'] && $INPUT->has('debug')){ $ERROR = false; // check image permissions -$AUTH = auth_quickaclcheck($IMG); -if($AUTH >= AUTH_READ){ +$AUTHLEVEL = auth_quickaclcheck($IMG); +if($AUTHLEVEL >= AUTH_READ){ // check if image exists $SRC = mediaFN($IMG); if(!@file_exists($SRC)){ |