summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
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'])) {