Commit 59c5cf9e authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2721 wrong class in tpl_parse call in functions.inc

parent 2357077a
......@@ -3046,7 +3046,7 @@ function change_password ($dn, $password, $mode = 0, $hash = "")
'userPassword' => escapeshellarg($password),
'dn' => escapeshellarg($dn)
);
$command = self::tpl_parse_string($command, $addAttrs);
$command = plugin::tpl_parse_string($command, $addAttrs);
@DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__, $command, "Execute");
exec($command, $arr, $returnCode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment