tq: fix string quoting for debug
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
27e9b093bf
commit
cb12398893
|
@ -72,6 +72,8 @@ class TimelineQuery
|
||||||
$value = $platform->quoteStringLiteral($value ? '1' : '0');
|
$value = $platform->quoteStringLiteral($value ? '1' : '0');
|
||||||
} elseif (null === $value) {
|
} elseif (null === $value) {
|
||||||
$value = $platform->quoteStringLiteral('NULL');
|
$value = $platform->quoteStringLiteral('NULL');
|
||||||
|
} else {
|
||||||
|
$value = $platform->quoteStringLiteral((string) $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = str_replace(':'.$key, $value, $sql);
|
$sql = str_replace(':'.$key, $value, $sql);
|
||||||
|
|
Loading…
Reference in New Issue