this isn't an array
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 5 Dec 2009 05:05:12 +0000 (00:05 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 5 Dec 2009 05:05:12 +0000 (00:05 -0500)
kronolith/lib/Event.php

index 4468281..61cb7ad 100644 (file)
@@ -1177,7 +1177,7 @@ abstract class Kronolith_Event
             $json->et = $this->end->format($time_format);
             $json->a = $this->alarm;
             $json->tg = array_values($this->tags);
-            $json->gl = array_values($this->geoLocation);
+            $json->gl = $this->geoLocation;
             if ($this->recurs()) {
                 $json->r = $this->recurrence->toJson();
             }