From 672dc5f6d1b9f1c5d2ec8e4208e02986768af85c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 14 Jul 2013 16:53:02 +0200 Subject: get_upload_id_limits(): return proper default values Signed-off-by: Florian Pritz --- application/models/muser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/models/muser.php') 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"]); -- cgit v1.2.3-24-g4f1b