Merge pull request #13098 from schoonc/fix-search-new-php-gettext

Fix database search with newer php-gettext
This commit is contained in:
Michal Čihař 2017-03-20 16:38:13 +01:00 committed by GitHub
commit 1f859b1b15

View File

@ -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(