From 2d99fafe8ceb3836bb2a8ce4a3bbfccfbc349d5e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Jul 2010 09:43:00 +0000 Subject: [PATCH] Updated FAI hook edit method. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18974 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiHookEntry.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc b/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc index 501ffaa54..f0aa449ed 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc @@ -164,6 +164,8 @@ class faiHookEntry extends plugin $this->enc_after_edit = mb_detect_encoding($this->FAIscript); } } + if(isset($_POST['editAnyway'])) $this->write_protect = FALSE; + } /* Check supplied data */ -- 2.30.2