From 671f17509013b3d8252899725fbef9595ce58e7a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 22 Jul 2006 18:02:15 +0000 Subject: [PATCH] setting the freebusy_uri only if not in setup! --- addressbook/inc/class.bocontacts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.bocontacts.inc.php b/addressbook/inc/class.bocontacts.inc.php index 4584303c08..a7282260fc 100755 --- a/addressbook/inc/class.bocontacts.inc.php +++ b/addressbook/inc/class.bocontacts.inc.php @@ -321,7 +321,7 @@ class bocontacts extends socontacts $data['photo'] = $this->photo_src($data['id'],$data['jpegphoto']); // set freebusy_uri for accounts - if (!$data['freebusy_uri'] && !$data['owner'] && $data['account_id']) + if (!$data['freebusy_uri'] && !$data['owner'] && $data['account_id'] && !is_object($GLOBALS['egw_setup'])) { static $fb_url; if (!$fb_url && @is_dir(EGW_SERVER_ROOT.'/calendar/inc')) $fb_url = ExecMethod('calendar.bocal.freebusy_url','');