Browse Source

Fixed:fixed error

Zhu Jinhui 8 năm trước cách đây
mục cha
commit
c10b79f6f8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Qii/Driver/Base.php

+ 1 - 1
Qii/Driver/Base.php

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