summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba56bbc)
raw | patch | inline | side by side (parent: ba56bbc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jul 2005 06:46:13 +0000 (06:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jul 2005 06:46:13 +0000 (06:46 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1020 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index cbfef6f7d23e4f723026041912d01d687572e91c..67c6ca84cc7be6f63a1869fd1c1181b2693ea9dd 100644 (file)
if(preg_match("/dep_del.*/",$key)){
$s_action = "del";
$s_entry = preg_replace("/dep_".$s_action."_/i","",$key);
- $s_entry = preg_replace("/_.*/","",$s_entry);
+ $s_entry = preg_replace("/_.*$/","",$s_entry);
$s_entry = base64_decode($s_entry);
// Post for edit
}elseif(preg_match("/dep_edit_.*/",$key)){
$s_action="edit";
$s_entry = preg_replace("/dep_".$s_action."_/i","",$key);
- $s_entry = preg_replace("/_.*/","",$s_entry);
+ $s_entry = preg_replace("/_.*$/","",$s_entry);
$s_entry = base64_decode($s_entry);
// Post for new
}elseif(preg_match("/dep_new.*/",$key)){