silence PHP7.2 warning
This commit is contained in:
parent
dc90f103d4
commit
01289048a9
@ -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;
|
||||
|
Reference in New Issue
Block a user