Code

Updated FAI hook edit method.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Jul 2010 09:43:00 +0000 (09:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Jul 2010 09:43:00 +0000 (09:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18974 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiHookEntry.inc

index 501ffaa54e8d669ec5eea5ee44478b64c73a7178..f0aa449ed3f78a62952722f3a261480fae587b33 100644 (file)
@@ -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 */