From 581d1bcd47adba74d450478b2937160cb3c72480 Mon Sep 17 00:00:00 2001 From: sgbeal Date: Fri, 18 Aug 2000 23:13:45 +0000 Subject: [PATCH] Fixed broken link on that itty bitty "edit item" icon. --- calendar/inc/functions.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 9540fe5302..319478816d 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -103,9 +103,10 @@ // LC: links back to an entry view for $id using $pic function link_to_entry($id, $pic, $description) { - global $phpgw, $phpgw_info, $friendly; + global $phpgw, $phpgw_info, $phpgw_flags, $friendly, $appname; if (! $friendly) - echo "link("view.php","id=$id")."\">link($phpgw_info["server"]["webserver_url"] + ."/".$phpgw_flags["currentapp"]."/view.php","id=$id")."\">\"".htmlentities($description)."\""; } @@ -643,4 +644,4 @@ } } // end for } // end function -?> \ No newline at end of file +?>