mirror of
https://github.com/friendica/friendica
synced 2024-11-20 16:23:40 +00:00
Update dba.php
This commit is contained in:
parent
150989ba99
commit
c37a8cc661
1 changed files with 1 additions and 2 deletions
|
@ -1299,8 +1299,7 @@ class dba {
|
||||||
$condition_string .= " AND ";
|
$condition_string .= " AND ";
|
||||||
}
|
}
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
/**
|
/* Workaround for MySQL Bug #64791.
|
||||||
* Workaround for MySQL Bug #64791.
|
|
||||||
* Never mix data types inside any IN() condition.
|
* Never mix data types inside any IN() condition.
|
||||||
* In case of mixed types, cast all as string.
|
* In case of mixed types, cast all as string.
|
||||||
* Logic needs to be consistent with dba::p() data types.
|
* Logic needs to be consistent with dba::p() data types.
|
||||||
|
|
Loading…
Reference in a new issue