diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-16 20:33:07 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-16 20:33:53 +0100 |
commit | 01289048a950e4638b6eb23e7bff28d6b88d0894 (patch) | |
tree | 2b83407d43002c3257171e6aa57ec9711ee2631d | |
parent | dc90f103d4ea56d8825d7ae83548b21301ed900a (diff) | |
download | volse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.tar.gz volse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.tar.bz2 volse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.zip |
silence PHP7.2 warning
-rw-r--r-- | include/message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php index b57d2e068..4a673b961 100644 --- a/include/message.php +++ b/include/message.php @@ -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; |