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

Annotation 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.1 - (hide annotations) (download)
Sun Feb 28 06:34:56 2021 UTC (3 years, 6 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; "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