summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-07-14 16:53:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-07-14 16:53:02 +0200
commit672dc5f6d1b9f1c5d2ec8e4208e02986768af85c (patch)
treef197cefba8d9e3312fdd011da0a887c593c817a7
parent7873bfbe586d73a0385b8b3c2c796d56a89e7031 (diff)
get_upload_id_limits(): return proper default values
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/models/muser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php
index f7da8c1fd..044e2b845 100644
--- a/application/models/muser.php
+++ b/application/models/muser.php
@@ -210,7 +210,7 @@ class Muser extends CI_Model {
", array($userid))->row_array();
if (empty($query)) {
- return $this->default_upload_id_limits;
+ return explode("-", $this->default_upload_id_limits);
}
return explode("-", $query["upload_id_limits"]);