summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57a90e5)
raw | patch | inline | side by side (parent: 57a90e5)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 1 Mar 2008 10:59:44 +0000 (10:59 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 1 Mar 2008 10:59:44 +0000 (10:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9223 594d385d-05f5-0310-b6e9-bd551577e9d8
Changelog | patch | blob | history | |
include/class_plugin.inc | patch | blob | history |
diff --git a/Changelog b/Changelog
index 2a78bfaf755cbfa4dd2701053ff87a7a2a184fc7..1b7f95afbbe26f2132f3438b2328c64d276c110a 100644 (file)
--- a/Changelog
+++ b/Changelog
* gosa 2.5.16
- ridbase may be undefined in domain objects
+ - Fixed postremove/-create/-modify parameter expansion
* gosa 2.5.15
- Changed order of sys-action commandline parameters
index a6e3da710567fc2ef77c576ce8308456eb80dee6..f4dd40ef631f5e72cb636d244188d57ab06f5fd6 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
/* Additional attributes */
foreach ($add_attrs as $name => $value){
- $command= preg_replace("/%$name/", $value, $command);
+ $command= preg_replace("/%$name( |$)/", "$value ", $command);
}
/* Walk through attribute list */
foreach ($this->attributes as $attr){
if (!is_array($this->$attr)){
- $command= preg_replace("/%$attr/", $this->$attr, $command);
+ $command= preg_replace("/%$attr( |$)/", $this->$attr." ", $command);
}
}
- $command= preg_replace("/%dn/", $this->dn, $command);
+ $command= preg_replace("/%dn( |$)/", $this->dn." ", $command);
if (check_command($command)){
@DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
/* Additional attributes */
foreach ($add_attrs as $name => $value){
- $command= preg_replace("/%$name/", $value, $command);
+ $command= preg_replace("/%$name( |$)/", "$value ", $command);
}
/* Walk through attribute list */
foreach ($this->attributes as $attr){
if (!is_array($this->$attr)){
- $command= preg_replace("/%$attr/", $this->$attr, $command);
+ $command= preg_replace("/%$attr( |$)/", $this->$attr." ", $command);
}
}
- $command= preg_replace("/%dn/", $this->dn, $command);
+ $command= preg_replace("/%dn( |$)/", $this->dn." ", $command);
if (check_command($command)){
@DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
/* Additional attributes */
foreach ($add_attrs as $name => $value){
- $command= preg_replace("/%$name/", $value, $command);
+ $command= preg_replace("/%$name( |$)/", "$value ", $command);
}
/* Walk through attribute list */
foreach ($this->attributes as $attr){
if (!is_array($this->$attr)){
- $command= preg_replace("/%$attr/", $this->$attr, $command);
+ $command= preg_replace("/%$attr( |$)/", $this->$attr." ", $command);
}
}
- $command= preg_replace("/%dn/", $this->dn, $command);
-
- /* Additional attributes */
- foreach ($add_attrs as $name => $value){
- $command= preg_replace("/%$name/", $value, $command);
- }
+ $command= preg_replace("/%dn( |$)/", $this->dn." ", $command);
if (check_command($command)){
@DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,