* fix bug #951.
This commit is contained in:
@@ -87,7 +87,9 @@ class custom extends control
|
||||
{
|
||||
$value = $_POST['values'][$index];
|
||||
$system = $_POST['systems'][$index];
|
||||
if(!$system and (!$value or !$key)) continue;
|
||||
|
||||
//Fix bug #951.
|
||||
//if(!$system and (!$value or !$key)) continue;
|
||||
|
||||
/* the length of role is 20, check it when save. */
|
||||
if($module == 'user' and $field == 'roleList' and strlen($key) > 20) die(js::alert($this->lang->custom->notice->userRole));
|
||||
|
||||
Reference in New Issue
Block a user