Avoid warnings in addons (#639)

* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
This commit is contained in:
Michael Vogel 2018-07-10 14:30:23 +02:00 committed by Hypolite Petovan
parent 9ec2b9390b
commit 475299e642
12 changed files with 102 additions and 61 deletions

View file

@ -455,7 +455,7 @@ function fromgplus_fetch($a, $uid) {
$lastdate = 0;
if (!is_array($activities->items))
if (empty($activities->items))
return;
$reversed = array_reverse($activities->items);