diff --git a/ChangeLog b/ChangeLog index cb1f28136..1009eda2e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-03-24 Marc Delisle + * libraries/common.lib.php: bug 922553, wrong boundary check in + PMA_flipstring(), thanks to Virgile Petit (pvtc) + 2004-03-24 Michal Cihar * lang/*: Added missing "$strConnectionError" (bug #922006). diff --git a/libraries/common.lib.php b/libraries/common.lib.php index e9994284e..2dd1880ae 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1785,7 +1785,7 @@ if (typeof(document.getElementById) != 'undefined' $format_string = ''; $charbuff = false; - for ($i = 0; $i <= strlen($string); $i++) { + for ($i = 0; $i < strlen($string); $i++) { $char = $string{$i}; $append = false;