]> git.mxchange.org Git - friendica.git/blobdiff - mod/common.php
Events: Now with guid.
[friendica.git] / mod / common.php
index 4cdbe9641b3c006fd0b3c39bfaa3ef798f917ae0..62a5185fed84c4a00256bab9447fc56c64b530b2 100644 (file)
@@ -5,7 +5,6 @@ require_once('include/Contact.php');
 require_once('include/contact_selectors.php');
 require_once('mod/contacts.php');
 
-if(! function_exists('common_content')) {
 function common_content(&$a) {
 
        $o = '';
@@ -41,7 +40,7 @@ function common_content(&$a) {
                $vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
                        '$name' => htmlentities($c[0]['name']),
                        '$photo' => $c[0]['photo'],
-                       'url' => z_root() . '/contacts/' . $cid
+                       'url' => 'contacts/' . $cid
                ));
 
                if(! x($a->page,'aside'))
@@ -145,4 +144,3 @@ function common_content(&$a) {
 
        return $o;
 }
-}