mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 16:44:30 +02:00
- DibiConnection: insert() and update() accepts ArrayObject
This commit is contained in:
@@ -126,7 +126,7 @@ class DibiFluent extends DibiObject implements IDataSource
|
||||
} elseif ($arg instanceof self) {
|
||||
$args = array_merge(array('('), $arg->_export(), array(')'));
|
||||
|
||||
} elseif (is_array($arg)) { // any array
|
||||
} elseif (is_array($arg) || $arg instanceof ArrayObject) { // any array
|
||||
if (isset(self::$modifiers[$clause])) {
|
||||
$args = array(self::$modifiers[$clause], $arg);
|
||||
|
||||
|
Reference in New Issue
Block a user