Merge remote-tracking branch 'upstream/develop' into pleroma2
This commit is contained in:
@@ -527,6 +527,10 @@ class dba {
|
||||
$i = 0;
|
||||
$args = array();
|
||||
foreach ($params AS $param) {
|
||||
// Avoid problems with some MySQL servers and boolean values. See issue #3645
|
||||
if (is_bool($param)) {
|
||||
$param = (int)$param;
|
||||
}
|
||||
$args[++$i] = $param;
|
||||
}
|
||||
|
||||
|
||||
+3476
-3454
File diff suppressed because it is too large
Load Diff
+631
-627
File diff suppressed because it is too large
Load Diff
+631
-627
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user