From a0d2956bb6ce4e8610b55e394e8ca4f7f7118e1d Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 14 Jul 2014 10:22:48 +0000 Subject: [PATCH] Link was missing if application entry directory already exists. Fixes unable to symlink existing entries to vfs --- phpgwapi/inc/class.egw_link.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 4e911ca398..b302920810 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -1192,8 +1192,9 @@ class egw_link extends solink error_log(__METHOD__. ' (Link target ' . egw_vfs::decodePath($file) . ' not found!'); return false; } - $link = egw_vfs::concat($app_path,egw_vfs::basename($file)); } + + $link = egw_vfs::concat($app_path,egw_vfs::basename($file)); return egw_vfs::symlink($file,$link); } /**