/[smecontribs]/rpms/phpMyAdmin/contribs10/phpMyAdmin-4.4.15.10-gettext-search.patch
ViewVC logotype

Annotation of /rpms/phpMyAdmin/contribs10/phpMyAdmin-4.4.15.10-gettext-search.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Feb 28 06:34:55 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: phpMyAdmin-4_4_15_10-4_el7
from epel

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(

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed