1 |
jpp |
1.1 |
Compatibility patch for phpMyAdmin 4.4.x; "Uncaught InvalidArgumentException: Select_string only accepts |
2 |
|
|
integers: 0 in /usr/share/php/gettext/gettext.php:354": |
3 |
|
|
|
4 |
|
|
- https://github.com/phpmyadmin/phpmyadmin/issues/12881 |
5 |
|
|
- https://github.com/phpmyadmin/phpmyadmin/commit/827ff5715a4fe8e2d8eee37ad2f759c4f551e5f4 |
6 |
|
|
|
7 |
|
|
--- phpMyAdmin-4.4.15.10/libraries/DbSearch.class.php 2017-01-23 20:08:47.000000000 +0100 |
8 |
|
|
+++ phpMyAdmin-4.4.15.10/libraries/DbSearch.class.php.gettext-search 2019-10-29 16:59:28.354078246 +0100 |
9 |
|
|
@@ -281,7 +281,7 @@ |
10 |
|
|
// Gets the SQL statements |
11 |
|
|
$newsearchsqls = $this->_getSearchSqls($each_table); |
12 |
|
|
// Executes the "COUNT" statement |
13 |
|
|
- $res_cnt = $GLOBALS['dbi']->fetchValue($newsearchsqls['select_count']); |
14 |
|
|
+ $res_cnt = intval($GLOBALS['dbi']->fetchValue($newsearchsqls['select_count'])); |
15 |
|
|
$num_search_result_total += $res_cnt; |
16 |
|
|
// Gets the result row's HTML for a table |
17 |
|
|
$html_output .= $this->_getResultsRow( |