]> git.mxchange.org Git - friendica.git/commitdiff
open contact edit in same window
authorfriendica <info@friendica.com>
Sun, 15 Apr 2012 13:34:01 +0000 (06:34 -0700)
committerfriendica <info@friendica.com>
Sun, 15 Apr 2012 13:34:01 +0000 (06:34 -0700)
include/Contact.php

index 388819b01e32a24eb34f646066440b6472cbf7b5..9ba1e8ae5cbde3b9d068018a0d6ba9d3ce7cc599 100644 (file)
@@ -158,7 +158,7 @@ function contact_photo_menu($contact) {
        $o = "";
        foreach($menu as $k=>$v){
                if ($v!="") {
-                       if(($k !== t("Network Posts")) && ($k !== t("Send PM")))
+                       if(($k !== t("Network Posts")) && ($k !== t("Send PM")) && ($k !== t('Edit Contact')))
                                $o .= "<li><a target=\"redir\" href=\"$v\">$k</a></li>\n";
                        else
                                $o .= "<li><a href=\"$v\">$k</a></li>\n";