浏览代码

Fixed:fixed error

Zhu Jinhui 7 年之前
父节点
当前提交
c10b79f6f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Qii/Driver/Base.php

+ 1 - 1
Qii/Driver/Base.php

@@ -85,7 +85,7 @@ class Base
 		$sql = "SHOW TABLES";
 		$rs = $this->setQuery($sql);
 		$tables = array();
-		while($row = $rs->fetch($rs))
+		while($row = $rs->fetch())
 		{
             if(is_array($row)) {
                 foreach($row AS $val) {