diff --git a/app/controllers/admission/userlist.php b/app/controllers/admission/userlist.php index 00900e2f1748722394ef1ac5d08490344038b1f6..f2cda5797c13e5c84308b9d702914cc968846f3d 100644 --- a/app/controllers/admission/userlist.php +++ b/app/controllers/admission/userlist.php @@ -104,7 +104,7 @@ class Admission_UserListController extends AuthenticatedController CSRFProtection::verifyUnsafeRequest(); $userlist = new AdmissionUserList($userlistId); $userlist->setName(Request::get('name')) - ->setFactor(Request::float('factor')) + ->setFactor(Request::float('factor', 0)) ->setUsers(Request::getArray('users')) ->setOwnerId($GLOBALS['user']->id); if ($userlist->store()) {