From f5803dfda141ce16966d74d1dca0b3e7b6f614d8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 29 Jun 2011 12:52:40 -0400
Subject: [PATCH] - Fix bug where Import button was disabled (#1326103)

---
 program/steps/addressbook/import.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/program/steps/addressbook/import.inc b/program/steps/addressbook/import.inc
index fdac962..12a8d6b 100644
--- a/program/steps/addressbook/import.inc
+++ b/program/steps/addressbook/import.inc
@@ -54,6 +54,7 @@
   $form .= html::p(null, $check_replace->show(get_input_value('_replace', RCUBE_INPUT_GPC)) .
     html::label('rcmimportreplace', rcube_label('importreplace')));
 
+  $OUTPUT->set_env('writable_source', !empty($writable_books));
   $OUTPUT->add_label('selectimportfile','importwait');
   $OUTPUT->add_gui_object('importform', $attrib['id']);
 

--
Gitblit v1.9.1