Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorСорокин Александр <ale10059@yandex.ru>2017-03-18 13:23:57 +0300
committerСорокин Александр <ale10059@yandex.ru>2017-03-18 14:21:36 +0300
commitf9a74deeb6f85943797b319b08f97e2d947abc6a (patch)
tree93e6ec62230e00cd63d9f94025e0ec10026de005 /libraries
parent3d8b97b2556311ca7a0a9b8cbbbba94aa2276b6e (diff)
Fix database search with newer php-gettext
Backport from 4.6.6 (see #12881) Signed-off-by: Сорокин Александр <ale10059@yandex.ru>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/DbSearch.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/DbSearch.class.php b/libraries/DbSearch.class.php
index 9bf56f9342..8c34148f1d 100644
--- a/libraries/DbSearch.class.php
+++ b/libraries/DbSearch.class.php
@@ -277,7 +277,7 @@ class PMA_DbSearch
// Gets the SQL statements
$newsearchsqls = $this->_getSearchSqls($each_table);
// Executes the "COUNT" statement
- $res_cnt = PMA_DBI_fetch_value($newsearchsqls['select_count']);
+ $res_cnt = intval(PMA_DBI_fetch_value($newsearchsqls['select_count']));
$num_search_result_total += $res_cnt;
// Gets the result row's HTML for a table
$html_output .= $this->_getResultsRow(