Update select_with_pagintation function logic

It always create $page['pagination.items'] as array
This commit is contained in:
Dmitriy Simushev 2013-04-11 12:46:18 +00:00
parent 8ceb695d43
commit c7182e840d

View File

@ -114,7 +114,7 @@ function select_with_pagintation($fields, $table, $conditions, $order, $countfie
array('return_rows' => Database::RETURN_ALL_ROWS) array('return_rows' => Database::RETURN_ALL_ROWS)
); );
} else { } else {
$page['pagination.items'] = false; $page['pagination.items'] = array();
} }
} }