fix(ZP-643): Missing variable in Log sprintf block

Signed-off-by: 's avatarFrancisco Miguel Biete &lt;fbiete@gmail.com&gt; <fmbiete@gmail.com>
parent 119acfdc
...@@ -258,7 +258,7 @@ class ZPushAutodiscover { ...@@ -258,7 +258,7 @@ class ZPushAutodiscover {
if (isset($userDetails[$attrib]) && $userDetails[$attrib]) { if (isset($userDetails[$attrib]) && $userDetails[$attrib]) {
return $userDetails[$attrib]; return $userDetails[$attrib];
} }
ZLog::Write(LOGLEVEL_WARN, sprintf("The backend was not able to find attribute '%s' of the user. Fall back to the default value.")); ZLog::Write(LOGLEVEL_WARN, sprintf("The backend was not able to find attribute '%s' of the user. Fall back to the default value.", $attrib));
return false; return false;
} }
} }
......
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