summaryrefslogtreecommitdiff
path: root/libkolabxml/lib/php/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'libkolabxml/lib/php/test.php')
-rwxr-xr-xlibkolabxml/lib/php/test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/libkolabxml/lib/php/test.php b/libkolabxml/lib/php/test.php
index 48c3304..75f7d9f 100755
--- a/libkolabxml/lib/php/test.php
+++ b/libkolabxml/lib/php/test.php
@@ -102,7 +102,9 @@ $c->setTitles(array2vector("MyProfession"));
$pic = "R0lGODlhEgASAIAAAMDAwAAAACH5BAEAAAAALAAAAAASABIAQAIPhI+py+0Po5y02ouz3pwXADs=";
$c->setPhoto(base64_decode($pic), 'image/gif');
-$c->setGPSpos(array2vector("geo:46.952585,7.43766"));
+$geo = new vectorgeo;
+$geo->push(new Geo(46.952585, 7.43766));
+$c->setGPSpos($geo);
$bd = new cDateTime(1980,8,1);
$c->setBDay($bd);