Commit ed10b784 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 861c69bf
......@@ -3105,7 +3105,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