Zhu Jinhui 7 лет назад
Родитель
Сommit
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) {