Skip to content
Snippets Groups Projects
Commit 343aa174 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix global $AUTH hiding $auth

parent 25c82f13
No related branches found
No related tags found
No related merge requests found
......@@ -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)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment