mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Use a function common to MySQL, SQLite and PostgreSQL to test dynamic DBFIeld assigment
This commit is contained in:
parent
adbc560bd7
commit
bd92969418
@ -35,7 +35,7 @@ class MockDynamicAssignmentDBField extends Boolean
|
||||
{
|
||||
if ($value) {
|
||||
return $this->dynamicAssignment
|
||||
? array('GREATEST(?, ?)' => array(0, 1))
|
||||
? array('ABS(?)' => array(1))
|
||||
: 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user