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

Contents 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.2 - (show annotations) (download)
Sun Feb 28 08:33:42 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.1.0-1.sme
- Upgrade to 5.1.0 [SME: 11043]
  use epel spec with some modifications from remi

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