dever 6 vuotta sitten
vanhempi
commit
08e1d6ae36
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      main/src/Journal.php

+ 3 - 1
main/src/Journal.php

@@ -550,7 +550,9 @@ class Journal extends Core
                 $this->data['my'] = $my[0];
                 $this->data['my']['pai'] = '50+';
             }
-        } else {
+        }
+
+        if (!$this->data['my']) {
             $user = Dever::load('passport/api')->info($this->data['uid']);
             $this->data['my'] = array();
             $this->data['my']['uid'] = $this->data['uid'];