aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/resize.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 7c06b28c5..8561e1f4a 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -20,6 +20,7 @@
$image_sizes = get_plugin_setting('image_sizes', 'tidypics');
if (!$image_sizes) {
register_error(elgg_echo('tidypics:nosettings'));
+ forward($_SERVER['HTTP_REFERER']);
return false;
}
$image_sizes = unserialize($image_sizes);