Code

Fixed typo
[gosa.git] / include / class_plugin.inc
index 78eb022413ed4ada64b08e143e98d60b1a912dce..97130eaf36da69dd6d5531a106f042e6c1903e33 100644 (file)
@@ -267,7 +267,7 @@ class plugin
   {
     /* Save values to object */
     foreach ($this->attributes as $val){
-      if ($this->acl_is_writable($val) && isset ($_POST["$val"])){
+      if ($this->acl_is_writeable($val) && isset ($_POST["$val"])){
         /* Check for modifications */
         if (get_magic_quotes_gpc()) {
           $data= stripcslashes($_POST["$val"]);
@@ -1399,7 +1399,7 @@ echo "FIXME: remove_snapshot uses old acl's<br>";
   }
 
 
-  function acl_is_writable($attribute)
+  function acl_is_writeable($attribute)
   {
     $ui= get_userinfo();
     return preg_match('/w/', $ui->get_permissions($this->dn, get_class($this), $attribute));