Explorar o código

:bug: 新建wbw应使用user uuid

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
34cdfbb36b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);
                                     }
                                 }
                             }