aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-21 23:03:23 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-21 23:03:23 +0000
commitd723ef3f6e5ba2567cb494943ba6aaeaac6c7e22 (patch)
tree7327df8c7730c39f187300de8a7ded9fcda2ce33 /lib/resize.php
parent6e2f754b98b70c494dcd5d37ae68c31bd85cc070 (diff)
downloadelgg-d723ef3f6e5ba2567cb494943ba6aaeaac6c7e22.tar.gz
elgg-d723ef3f6e5ba2567cb494943ba6aaeaac6c7e22.tar.bz2
better job catching no settings
Diffstat (limited to 'lib/resize.php')
-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);