[Phpmyadmin-devel] new grab_globals and 2.6.1-pl1
Alexander M. Turek
me at derrabus.de
Thu Feb 24 09:26:34 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Marc,
Marc Delisle wrote:
>
> This solves the bug for me, please comment:
>
> if ( is_string($key)
> && ($key == 'cfg'
> || $key == 'GLOBALS'
> || substr($key, 0, 3) == 'str'
> || $key{0} == '_')) {
> continue;
> }
>
> Without the first test, each [0] is lost.
I am as confused as you are, but I can confirm that the code fixes the
newly introduced bug.
Regards,
AMT
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCHg2q8c/ssWf/SMcRAnb6AJ452jNJ77pQEoa7w7LUekAl8eMLDQCgrbaS
U3FrTkeyNXzKYM23P/Am6fY=
=6s8P
-----END PGP SIGNATURE-----
More information about the Developers
mailing list