From: Eloi G. <el...@re...> - 2003-03-24 05:04:58
|
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- |