Check for NULL in value
This commit is contained in:
parent
3df61ed87a
commit
a2a216f9c9
@ -543,7 +543,11 @@ error_log("message");
|
|||||||
|
|
||||||
$user->Save();
|
$user->Save();
|
||||||
|
|
||||||
|
if (isset( $parameters["parameters"]["records"]["deleted"] ) ) {
|
||||||
$recordToDeleteReferenceList = $parameters["parameters"]["records"]["deleted"];
|
$recordToDeleteReferenceList = $parameters["parameters"]["records"]["deleted"];
|
||||||
|
} else {
|
||||||
|
$recordToDeleteReferenceList = NULL;
|
||||||
|
}
|
||||||
$recordList = array();
|
$recordList = array();
|
||||||
$c = count($recordToDeleteReferenceList);
|
$c = count($recordToDeleteReferenceList);
|
||||||
for ($i=0; $i<$c; $i++) {
|
for ($i=0; $i<$c; $i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user