Code

Fixed typo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 10:11:52 +0000 (10:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 10:11:52 +0000 (10:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17047 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc

index 5d6b5ddf7df1e78c93c7fc9096a3177ae1a14abd..9e16f3620a699cb1eb044bb4b9c5d6508feba43c 100644 (file)
@@ -102,7 +102,7 @@ class blocklistGeneric extends plugin
     if (isset($_POST['add_number']) && $_POST['number'] != ""){
       if (tests::is_phone_nr($_POST['number']) || preg_match ("/^[\/0-9 ()\^\.\$+*-]+$/",$_POST['number'])){
         $acl =  ($this->type == 1) ? "goFaxSBlocklist" : "goFaxRBlocklist";
-        if($this->acl_is_writeabel($acl)){
+        if($this->acl_is_writeable($acl)){
           $this->addNumber ($_POST['number']);
         }
       } else {
@@ -119,7 +119,7 @@ class blocklistGeneric extends plugin
     if (isset($_POST['delete_number']) && isset($_POST['numbers']) && count($_POST['numbers']) > 0){
 
       $acl = ($this->type == 1) ? "goFaxSBlocklist" : "goFaxRBlocklist";
-      if($this->acl_is_writeabel($acl)){
+      if($this->acl_is_writeable($acl)){
         $this->delNumber ($_POST['numbers']);
       }
     }