diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-08-22 16:01:24 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-08-22 16:01:24 +0000 |
commit | 478af07f910adae242f6ecbba094420627b1e4a0 (patch) | |
tree | 9c75a49d19008e96f50e09fcf510f689b29e8ff0 /views/default/tidypics/forms/upload.php | |
parent | f464b98a26cac9d2ec27b1f6ad249dc1074ff4fb (diff) | |
download | elgg-478af07f910adae242f6ecbba094420627b1e4a0.tar.gz elgg-478af07f910adae242f6ecbba094420627b1e4a0.tar.bz2 |
now handling max file size of less than 1 MB
Diffstat (limited to 'views/default/tidypics/forms/upload.php')
-rw-r--r-- | views/default/tidypics/forms/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/tidypics/forms/upload.php b/views/default/tidypics/forms/upload.php index d3fc7828d..522a51c4b 100644 --- a/views/default/tidypics/forms/upload.php +++ b/views/default/tidypics/forms/upload.php @@ -7,7 +7,7 @@ $album = get_entity($vars['album']); $access_id = $album->access_id; - $maxfilesize = (int) get_plugin_setting('maxfilesize','tidypics'); + $maxfilesize = (float) get_plugin_setting('maxfilesize','tidypics'); if (!$maxfilesize) $maxfilesize = 5; |