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:07 +0100
commit7181cf901242c75fed84920817466aff650b6848 (patch)
tree790327b1dcd5ddf4a9d8a20762fbdfbc6b3b9a2f /include/message.php
parentd30482197781eb8e68443e78b9f8d8727815a39a (diff)
downloadvolse-hubzilla-7181cf901242c75fed84920817466aff650b6848.tar.gz
volse-hubzilla-7181cf901242c75fed84920817466aff650b6848.tar.bz2
volse-hubzilla-7181cf901242c75fed84920817466aff650b6848.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;