Selaa lähdekoodia

纠正作者信息判断bug

Moell 9 vuotta sitten
vanhempi
commit
fb456fe78e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      resources/views/default/author.blade.php

+ 1 - 1
resources/views/default/author.blade.php

@@ -14,7 +14,7 @@
             <?php
             $github_url = '';
             $weibo_url = '';
-            if (!isset($user->id)) {
+            if (!isset($user->id) || $user->id == 1) { //临时
                 $github_url = $systemPresenter->getKeyValue('github_url');
                 $weibo_url = $systemPresenter->getKeyValue('weibo_url');
             }