This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-05-18 10:58:13 -04:00
parent 782a21c7cb
commit 5065e669e1
2 changed files with 6 additions and 9 deletions

View File

@@ -227,9 +227,7 @@ class Cases
{
Validator::isArray($dataList, '$dataList');
if (!isset($dataList["userId"])) {
throw (new \Exception(\G::LoadTranslation("ID_USER_NOT_EXIST", array('userId',''))));
} else {
Validator::usrUid($dataList["userId"], "userId");
$dataList["userId"] = null;
}
$solrEnabled = false;