aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-24 08:59:19 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-24 09:53:09 +0200
commit70572c1e3cf9e297a49091d31461d50f7611300c (patch)
treef6f1d1ec9afe703360df975c4aebaf4d607f7a2d /lib
parent158c962fcc15455085751d8e2dfbf668c7615ba9 (diff)
downloadnextcloud-server-70572c1e3cf9e297a49091d31461d50f7611300c.tar.gz
nextcloud-server-70572c1e3cf9e297a49091d31461d50f7611300c.zip
Allow `set('column', 'null')` to work like in Doctrine
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db/querybuilder/quotehelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/querybuilder/quotehelper.php b/lib/private/db/querybuilder/quotehelper.php
index 0735f313abc..4b62fee6a6c 100644
--- a/lib/private/db/querybuilder/quotehelper.php
+++ b/lib/private/db/querybuilder/quotehelper.php
@@ -52,7 +52,7 @@ class QuoteHelper {
return (string) $string;
}
- if ($string === null || $string === '*') {
+ if ($string === null || $string === 'null' || $string === '*') {
return $string;
}