From: Matthew M. <ma...@tu...> - 2003-03-24 16:00:33
|
Fixed in CVS. > I just ran across a bug in a function I submitted, moveElement in > core/Array.php. Certain types of arrays won't process properly. It stems > from not telling array_reverse to preserve the keys. > > Just change line 102 from > $array = array_reverse($array); > to > $array = array_reverse($array, true); > > > and change line 114 from > $new_array = array_reverse($new_array); > to > $new_array = array_reverse($new_array, true); > > Sorry I didn't catch that before. > -Eloi- > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |