aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-16 20:33:07 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-16 20:33:53 +0100
commit01289048a950e4638b6eb23e7bff28d6b88d0894 (patch)
tree2b83407d43002c3257171e6aa57ec9711ee2631d /include/message.php
parentdc90f103d4ea56d8825d7ae83548b21301ed900a (diff)
downloadvolse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.tar.gz
volse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.tar.bz2
volse-hubzilla-01289048a950e4638b6eb23e7bff28d6b88d0894.zip
silence PHP7.2 warning
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php2
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;