From 478af07f910adae242f6ecbba094420627b1e4a0 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 22 Aug 2009 16:01:24 +0000 Subject: now handling max file size of less than 1 MB --- views/default/tidypics/forms/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/tidypics/forms/upload.php') 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; -- cgit v1.2.3