diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-21 23:03:23 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-21 23:03:23 +0000 |
commit | d723ef3f6e5ba2567cb494943ba6aaeaac6c7e22 (patch) | |
tree | 7327df8c7730c39f187300de8a7ded9fcda2ce33 /lib | |
parent | 6e2f754b98b70c494dcd5d37ae68c31bd85cc070 (diff) | |
download | elgg-d723ef3f6e5ba2567cb494943ba6aaeaac6c7e22.tar.gz elgg-d723ef3f6e5ba2567cb494943ba6aaeaac6c7e22.tar.bz2 |
better job catching no settings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/resize.php | 1 |
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);
|