Explorar o código

逐词译建立 用 $_COOKIE['userid']

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
5fe6cb076f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/studio/project.php

+ 1 - 1
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(), mTime(), 1, $USER_NAME);
+                                        $wbw_data[] = array(UUID::v4(), $block_id, $book, $iPar, $result["wid"], $result["real"], $strXml, mTime(), mTime(), 1, $_COOKIE['userid']);
                                     }
                                 }
                             }