summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
authorKarl Vollmer <vollmerk@ampache.org>2011-12-01 15:59:33 -0400
committerKarl Vollmer <vollmerk@ampache.org>2011-12-01 15:59:33 -0400
commit56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f (patch)
tree3a469afc6428fabc8912210c76247c3aaa89052c /image.php
parentd1af05595c46c59a7d3992925d2ab6f0e14e5dbe (diff)
downloadampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.tar.gz
ampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.tar.bz2
ampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.zip
Fixed two PHP warnings, and some issues with how users were being constructed
in init (which makes me wonder) and started trying to figure out why libre.fm broke
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.php b/image.php
index 4d5b7752..ac6c001f 100644
--- a/image.php
+++ b/image.php
@@ -45,7 +45,7 @@ if (!vauth::session_exists('interface',$_COOKIE[Config::get('session_name')]) AN
}
// If we aren't resizing just trash thumb
-if (!Config::get('resize_images')) { unset($_GET['thumb']); }
+if (!Config::get('resize_images')) { $_GET['thumb'] = null; }
// FIXME: Legacy stuff - should be removed after a version or so
if (!isset($_GET['object_type'])) {