mirror of
https://github.com/dg/dibi.git
synced 2025-09-01 10:02:53 +02:00
Compare commits
2 Commits
v4.1.3
...
revert-363
Author | SHA1 | Date | |
---|---|---|---|
|
dbbf0ca673 | ||
|
1bdf6e93d0 |
@@ -242,6 +242,9 @@ class Result implements IDataSource
|
||||
|
||||
$data = null;
|
||||
$assoc = preg_split('#(\[\]|->|=|\|)#', $assoc, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
|
||||
if (!$assoc) {
|
||||
throw new \InvalidArgumentException("Invalid descriptor '$assoc'.");
|
||||
}
|
||||
|
||||
// check columns
|
||||
foreach ($assoc as $as) {
|
||||
|
Reference in New Issue
Block a user