]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Several more warnings ... (#5340)
[friendica.git] / src / Content / Widget.php
index 04dfbb8e0313a230537556b3f9a4c2cc1e28dc9a..ba575201244205548276e11d591bb197c64b22d3 100644 (file)
@@ -264,7 +264,7 @@ class Widget
 
                $cid = $zcid = 0;
 
-               if (is_array($_SESSION['remote'])) {
+               if (!empty($_SESSION['remote'])) {
                        foreach ($_SESSION['remote'] as $visitor) {
                                if ($visitor['uid'] == $profile_uid) {
                                        $cid = $visitor['cid'];