1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00
Files
phpmyadmin/test/libraries
Jeff Chan 896fe8169a Fix PMA_arrayWalkRecursive to ensure single pass thru keys
Fix a bug with PMA_arrayWalkRecursive that causes it to apply a function
to its keys/values more than once. A previously incorrect test is fixed
as well.

The bug happens because when keys are modified, PHP's foreach loops
through the new keys again. This does not usually happen unless the
iterating array is passed through by reference (or has refcount=1).
See: http://stackoverflow.com/a/14854568/791890

Please see #936 for full explanation.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-02-17 03:09:34 +00:00
..
2013-06-06 11:48:39 -04:00
2014-01-09 20:51:40 +01:00
2014-01-09 18:22:11 +01:00
2013-12-09 08:09:42 +01:00
2014-01-09 18:22:11 +01:00
2013-11-17 18:34:41 +01:00
2014-01-24 08:24:14 -05:00
2014-02-07 11:56:46 +05:30
2013-09-09 07:33:59 +05:30
2013-08-23 06:01:30 -04:00
2013-08-21 19:02:08 +05:30
2013-07-28 00:56:02 +05:30
2013-07-28 01:00:34 +05:30
2013-07-28 00:56:02 +05:30
2014-01-09 18:22:11 +01:00
2014-01-09 18:22:11 +01:00
2013-07-30 13:57:57 +02:00
2012-09-18 16:09:25 +02:00