rabin hace 3 años
padre
commit
eddd219f82
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Import.php

+ 1 - 1
src/Import.php

@@ -193,7 +193,7 @@ class Import
 
     public function pinyin(&$update)
     {
-        if (Dever::project('pinyin') && $update['name']) {
+        if (Dever::import('pinyin') && $update['name']) {
             $update['pinyin'] = Dever::getPinyin($update['name']);
             $update['pinyin_first'] = Dever::getPinyinFirst($update['name']);
         }