Commit 68666a1e authored by Bas de Nooijer's avatar Bas de Nooijer

Fix for boolean values in update query documents

parent f59693a8
......@@ -171,7 +171,12 @@ class RequestBuilder extends BaseRequestBuilder
$xml .= $this->attrib('update', $modifier);
if ($value === null) {
$xml .= $this->attrib('null', 'true');
} else if ($value === false) {
$value = 'false';
} else if ($value === true) {
$value = 'true';
}
$xml .= '>' . htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8');
$xml .= '</field>';
......
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