Browse Source

:bug: 新建wbw应使用user uuid

visuddhinanda 4 years ago
parent
commit
34cdfbb36b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/studio/project.php

+ 1 - 1
public/app/studio/project.php

@@ -185,7 +185,7 @@ switch ($op) {
                                         $strXml .= "<style>{$result["style"]}</style>";
                                         $strXml .= "<status>0</status>";
                                         $strXml .= "</word>";
-                                        $wbw_data[] = array(UUID::v4(), $block_id, $book, $iPar, $result["wid"], $result["real"], $strXml, mTime(), 10, $USER_NAME);
+                                        $wbw_data[] = array(UUID::v4(), $block_id, $book, $iPar, $result["wid"], $result["real"], $strXml, mTime(), 10, $_COOKIE['userid']);
                                     }
                                 }
                             }