silence PHP7.2 warning

This commit is contained in:
Mario Vavti 2017-12-16 20:33:07 +01:00
parent dc90f103d4
commit 01289048a9

View File

@ -215,7 +215,7 @@ function send_message($uid = 0, $recipient = '', $body = '', $subject = '', $rep
return $ret;
}
if(count($images)) {
if($images) {
foreach($images as $image) {
if(! stristr($image,z_root() . '/photo/'))
continue;