Merge commit 'origin/master' into hruid
[platal.git] / modules / profile.php
index d283e3d..07324f4 100644 (file)
@@ -734,8 +734,9 @@ class ProfileModule extends PLModule
             $x = substr($x, 0, strlen($x) - 4);
         }
 
-        $vcard = new VCard($x);
-        $vcard->do_page($page);
+        $vcard = new VCard();
+        $vcard->addUser($x);
+        $vcard->show();
     }
 
     function handler_admin_trombino(&$page, $login = null, $action = null) {