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 +?>