summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d2c624c)
raw | patch | inline | side by side (parent: d2c624c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Jan 2007 06:20:29 +0000 (06:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Jan 2007 06:20:29 +0000 (06:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5631 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofax/blocklists/class_blocklistManagement.inc | patch | blob | history |
diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc
index 3503448de75b7321f700ab00f24ba0ecfd4e42be..51fb7a0e2dfb2c85ea8f4d27cc4b14534ad747e1 100644 (file)
/* Handle interactions: add */
if (isset($_POST['add_number']) && $_POST['number'] != ""){
- if (is_phone_nr($_POST['number'])){
+ if (is_phone_nr($_POST['number']) || preg_match ("/^[\/0-9 ()\^\.\$+*-]+$/",$_POST['number'])){
$this->addNumber ($_POST['number']);
} else {
print_red (_("Please specify a valid phone number."));