]> git.mxchange.org Git - friendica.git/blobdiff - object/Item.php
Improve pagination on frio theme
[friendica.git] / object / Item.php
index 8340009a9b0b7899c2c632fac2bdbe34c1593754..d95af3419a0f8babb385e3505538b1898fe77c2f 100644 (file)
@@ -38,9 +38,9 @@ class Item extends BaseObject {
                $this->set_template('wall');
                $this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
 
-               if(is_array($_SESSION['remote'])) {
-                       foreach($_SESSION['remote'] as $visitor) {
-                               if($visitor['cid'] == $this->get_data_value('contact-id')) {
+               if (is_array($_SESSION['remote'])) {
+                       foreach ($_SESSION['remote'] as $visitor) {
+                               if ($visitor['cid'] == $this->get_data_value('contact-id')) {
                                        $this->visiting = true;
                                        break;
                                }