summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/detail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index 9981c1d02..cd3f362ad 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
-$AUTHLEVEL = auth_quickaclcheck($IMG);
-if($AUTHLEVEL >= AUTH_READ){
+$AUTH = auth_quickaclcheck($IMG);
+if($AUTH >= AUTH_READ){
// check if image exists
$SRC = mediaFN($IMG);
if(!@file_exists($SRC)){