Skip to content

Commit bd6a977

Browse files
committed
修正Page类的架构方法 对url参数赋值
1 parent b9ce614 commit bd6a977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Extend/Library/ORG/Util/Page.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function __construct($totalRows,$listRows='',$parameter='',$url='') {
5858
$this->nowPage = $this->totalPages;
5959
}
6060
$this->firstRow = $this->listRows*($this->nowPage-1);
61+
if(!empty($url)) $this->url = $url;
6162
}
6263

6364
public function setConfig($name,$value) {
@@ -150,4 +151,4 @@ public function show() {
150151
return $pageStr;
151152
}
152153

153-
}
154+
}

0 commit comments

Comments
 (0)