Minahito
minah****@users*****
2006年 8月 17日 (木) 12:49:41 JST
Index: xoops2jp/html/modules/base/admin/class/Legacy_SQLScanner.class.php diff -u xoops2jp/html/modules/base/admin/class/Legacy_SQLScanner.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/class/Legacy_SQLScanner.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/class/Legacy_SQLScanner.class.php:1.1.2.2 Thu Aug 17 12:44:24 2006 +++ xoops2jp/html/modules/base/admin/class/Legacy_SQLScanner.class.php Thu Aug 17 12:49:41 2006 @@ -36,7 +36,7 @@ unset($t_tokens); $t_tokens = array(); } - elseif ($this->mTokens[$key]->mValue =='CREATE' || $this->mTokens[$key]->mValue =='ALTER' || $this->mTokens[$key]->mValue =='INSERT') { + elseif ($this->mTokens[$key]->mType == EASYLEX_SQL_LETTER && (strtoupper($this->mTokens[$key]->mValue) =='CREATE' || strtoupper($this->mTokens[$key]->mValue) =='ALTER' || strtoupper($this->mTokens[$key]->mValue) =='INSERT')) { array_pop($t_tokens); $t_lines[] =& $t_tokens; unset($t_tokens);