From 8b4728ad4a5fc90f2831dd8a6ec3c976727e87fa Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 5 May 2011 21:41:00 +0000 Subject: [PATCH] Allow documents in dirs other than user's preference dir by passing full path --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 4fe28184c9..d65e31995e 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2316,7 +2316,7 @@ class addressbook_ui extends addressbook_bo { $document = $this->prefs['default_document']; } - else + elseif ($document[0] != '/') { $document = $this->prefs['document_dir'].'/'.$document; }