From: hickert Date: Fri, 9 Jul 2010 09:43:00 +0000 (+0000) Subject: Updated FAI hook edit method. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2d99fafe8ceb3836bb2a8ce4a3bbfccfbc349d5e;p=gosa.git Updated FAI hook edit method. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18974 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */