From 7f3baa263992735838edd151af0d8e9909414545 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 4 Feb 2011 16:02:18 +0000 Subject: [PATCH] Disable merge icon if user has no document set --- infolog/inc/class.infolog_ui.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 01a84e4097..8281971ad4 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -412,6 +412,7 @@ class infolog_ui } } $rows[] = $info; + $readonlys["document[{$info['info_id']}]"] = !$this->prefs['default_document']; } unset($links);