mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 06:39:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@970 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
49582a9e09
commit
736d569538
6 changed files with 103 additions and 67 deletions
|
|
@ -147,7 +147,7 @@
|
|||
* @brief 결과를 fetch
|
||||
**/
|
||||
function _fetch($result) {
|
||||
if($this->errno!=0 || !$result) return;
|
||||
if($this->isError() || !$result) return;
|
||||
|
||||
while($tmp = $result->fetch_object()) {
|
||||
$output[] = $tmp;
|
||||
|
|
@ -379,7 +379,7 @@
|
|||
}
|
||||
|
||||
$result = $this->_query($query);
|
||||
if($this->errno!=0) return;
|
||||
if($this->isError()) return;
|
||||
$data = $this->_fetch($result);
|
||||
|
||||
$buff = new Object();
|
||||
|
|
@ -416,7 +416,7 @@
|
|||
$index = implode(',',$index_list);
|
||||
$query = sprintf('select %s from %s %s order by %s limit %d, %d', $columns, $table, $condition, $index, $start_count, $navigation->list_count);
|
||||
$result = $this->_query($query);
|
||||
if($this->errno!=0) {
|
||||
if($this->isError()) {
|
||||
$buff = new Object();
|
||||
$buff->total_count = 0;
|
||||
$buff->total_page = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue