summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a294d52)
raw | patch | inline | side by side (parent: a294d52)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Jan 2007 06:19:46 +0000 (06:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Jan 2007 06:19:46 +0000 (06:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5630 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 b03ebd7638e2be02ebdb3fb71fef73dc75d50113..d3e7377803a8848f3105b9a1001675d145432a5d 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."));