Update messages_contacts.php (#4637)
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2016-2018
|
Portions created by the Initial Developer are Copyright (C) 2016-2019
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -131,7 +131,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($sql, $parameters, $rows, $row);
|
unset($sql, $parameters, $rows, $row);
|
||||||
$numbers = array_diff($numbers, $destinations);
|
|
||||||
|
if (!is_null(array_diff($numbers, $destinations))) {
|
||||||
|
$numbers = array_diff($numbers, $destinations);
|
||||||
|
}
|
||||||
|
|
||||||
//get contact (primary attachment) images and cache them
|
//get contact (primary attachment) images and cache them
|
||||||
if (is_array($numbers) && @sizeof($numbers) != 0) {
|
if (is_array($numbers) && @sizeof($numbers) != 0) {
|
||||||
@@ -219,4 +222,4 @@
|
|||||||
echo "</script>\n";
|
echo "</script>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user