From c7182e840ddcac73733ac8a1af97460347a102af Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 11 Apr 2013 12:46:18 +0000 Subject: [PATCH] Update select_with_pagintation function logic It always create $page['pagination.items'] as array --- src/messenger/webim/libs/pagination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messenger/webim/libs/pagination.php b/src/messenger/webim/libs/pagination.php index 1ac0ecb1..2ec5a974 100644 --- a/src/messenger/webim/libs/pagination.php +++ b/src/messenger/webim/libs/pagination.php @@ -114,7 +114,7 @@ function select_with_pagintation($fields, $table, $conditions, $order, $countfie array('return_rows' => Database::RETURN_ALL_ROWS) ); } else { - $page['pagination.items'] = false; + $page['pagination.items'] = array(); } }