FIX remove not initialized variable
This commit is contained in:
parent
6e33d1e2b1
commit
10154cc357
@ -511,7 +511,7 @@ if (empty($reshook)) {
|
|||||||
$mesgs = array_merge($mesgs, $object->errors);
|
$mesgs = array_merge($mesgs, $object->errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
setEventMessages(null, $mesgs, 'errors');
|
setEventMessages('', $mesgs, 'errors');
|
||||||
$action = "create";
|
$action = "create";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -599,7 +599,7 @@ if (empty($reshook)) {
|
|||||||
$mesgs = array_merge($mesgs, $object->errors);
|
$mesgs = array_merge($mesgs, $object->errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
setEventMessages($mesg, $mesgs, 'errors');
|
setEventMessages('', $mesgs, 'errors');
|
||||||
$action = "edit";
|
$action = "edit";
|
||||||
} else {
|
} else {
|
||||||
$action = "edit";
|
$action = "edit";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user