From: hickert Date: Wed, 24 Mar 2010 10:11:52 +0000 (+0000) Subject: Fixed typo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f9b9722d24f8875373cf02f8e62c1ad320b98d2;p=gosa.git Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17047 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc index 5d6b5ddf7..9e16f3620 100644 --- a/gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc +++ b/gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc @@ -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']); } }