MFB: put newer images on the top of older images on the google map.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 23 Sep 2009 18:36:10 +0000 (14:36 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 23 Sep 2009 18:37:05 +0000 (14:37 -0400)
ansel/lib/Block/recently_added_geodata.php

index d2a883a..336426d 100644 (file)
@@ -99,7 +99,7 @@ class Horde_Block_ansel_recently_added_geodata extends Horde_Block {
         if (is_a($images, 'PEAR_Error')) {
             return $images->getMessage();
         }
-
+        $images = array_reverse($images);
         foreach ($images as $id => $image) {
             if (is_a($image, 'PEAR_Error')) {
                 continue;