diff --git a/lib/Db/TimelineQuery.php b/lib/Db/TimelineQuery.php index 110de2b8..37715303 100644 --- a/lib/Db/TimelineQuery.php +++ b/lib/Db/TimelineQuery.php @@ -72,6 +72,8 @@ class TimelineQuery $value = $platform->quoteStringLiteral($value ? '1' : '0'); } elseif (null === $value) { $value = $platform->quoteStringLiteral('NULL'); + } else { + $value = $platform->quoteStringLiteral((string) $value); } $sql = str_replace(':'.$key, $value, $sql);