امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I hope I am not wasting anyone's time by reporting a bug in 2.1.7. It's niche enough that I expect it still exists in the latest version.
I was passing an array of values to a SqlConstraint and the result was unexpected.
Here's my example:
Code:
The result is unexpectedly this:
Code:
It only...
Bug in SqlConstraint.php - Only takes first value from possible values.
I was passing an array of values to a SqlConstraint and the result was unexpected.
Here's my example:
Code:
کد:
$query->withSql(new SqlConstraint(
'thread.discussion_state IN (%s)',
['visible', 'deleted'],
$this->getThreadQueryTableReference()
));
Code:
thread.discussion_state = 'visible'It only...
Bug in SqlConstraint.php - Only takes first value from possible values.
