/[smecontribs]/rpms/phpMyAdmin/contribs10/phpMyAdmin-4.4.15.10-php-array.patch
ViewVC logotype

Contents of /rpms/phpMyAdmin/contribs10/phpMyAdmin-4.4.15.10-php-array.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:43 2021 UTC (3 years, 3 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; "Warning in ./libraries/plugin_interface.lib.php#533
2 count(): Parameter must be an array or an object that implements Countable" is raised with PHP 7.
3
4 --- phpMyAdmin-4.4.15.10/libraries/plugin_interface.lib.php 2017-01-23 20:08:47.000000000 +0100
5 +++ phpMyAdmin-4.4.15.10/libraries/plugin_interface.lib.php 2018-05-16 13:37:36.000000000 +0200
6 @@ -529,7 +529,7 @@
7 $ret .= '<h3>' . PMA_getString($text) . '</h3>';
8
9 $no_options = true;
10 - if ($options != null && count($options) > 0) {
11 + if ($options != null && count((array)$options) > 0) {
12 foreach ($options->getProperties()
13 as $propertyMainGroup
14 ) {

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