summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32194df)
raw | patch | inline | side by side (parent: 32194df)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Oct 2009 15:21:56 +0000 (15:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Oct 2009 15:21:56 +0000 (15:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14451 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc
index c131d67ab6ae2765cbd92b711cb90b4f1921c961..210038f6f9f5d0987d44144be9e5d40759eae9f6 100644 (file)
foreach($_POST as $name=>$value){
/* Test if there is a variable begining with "del" */
- if(preg_match("/del/",$name)){
+ if(preg_match("/^del/",$name)){
/* Extract entry id to delete */
$nr = str_replace("del","",$name) ;
/* unset entry */
unset($this->goFonMacroParameter[$nr]);
- }elseif(preg_match("/number/",$name)){
+ }elseif(preg_match("/^number/",$name)){
/* Set Post vars */
$key = $_POST[$name];