dever 6 lat temu
rodzic
commit
1d7f242a55
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main/src/Journal.php

+ 1 - 1
main/src/Journal.php

@@ -537,7 +537,7 @@ class Journal extends Core
             }
             }
         }
         }
 
 
-        if (!$this->data['my']) {
+        if (!$this->data['my'] && $this->data['uid'] > 0) {
             $my = Dever::load('act/lib/score')->getList($id, 4, $this->data['uid']);
             $my = Dever::load('act/lib/score')->getList($id, 4, $this->data['uid']);
             if ($my) {
             if ($my) {
                 $this->data['my'] = $my[0];
                 $this->data['my'] = $my[0];