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

Revert "fix global $AUTH hiding $auth"

Yes, it's hiding $auth, but detail templates might depend on that. We
need to fix this properly.

This reverts commit 343aa174.
parent 16ad3fae
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
$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)){
......
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