index 5fd81afbbccc9986874a5efe35996c2a6102e55c..588a9e0bef73c33fd103395fa4d766b48527dd65 100644 (file)
/* Additional attributes */
foreach ($tmp as $name => $len){
$value = $add_attrs[$name];
- $command= preg_replace("/%$name/", "$value ", $command);
+ $command= preg_replace("/%$name/", "$value", $command);
}
if (check_command($command)){
/* Additional attributes */
foreach ($tmp as $name => $len){
$value = $add_attrs[$name];
- $command= preg_replace("/%$name/", "$value ", $command);
+ $command= preg_replace("/%$name/", "$value", $command);
}
if (check_command($command)){
/* Additional attributes */
foreach ($tmp as $name => $len){
$value = $add_attrs[$name];
- $command= preg_replace("/%$name/", "$value ", $command);
+ $command= preg_replace("/%$name/", "$value", $command);
}
if (check_command($command)){
foreach ($this->config->adepartments as $key => $ntag){
/* This one is bigger than our dn, its not relevant... */
- if ($len <= strlen($key)){
+ if ($len < strlen($key)){
continue;
}