diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-24 08:59:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-24 09:53:09 +0200 |
commit | 70572c1e3cf9e297a49091d31461d50f7611300c (patch) | |
tree | f6f1d1ec9afe703360df975c4aebaf4d607f7a2d /lib | |
parent | 158c962fcc15455085751d8e2dfbf668c7615ba9 (diff) | |
download | nextcloud-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.php | 2 |
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; } |