Compare commits
1 Commits
da2801560d
...
15f7b1e9a2
Author | SHA1 | Date | |
---|---|---|---|
15f7b1e9a2 |
@ -278,7 +278,10 @@ class PersistentDataManager implements IPersistentDataManager
|
||||
$method = 'set' . str_replace('_', '', ucwords($relation, '_'));
|
||||
$model->$method($relationModel);
|
||||
} else {
|
||||
next($data);
|
||||
while (substr($key, 0, strlen($relation . '__')) === $relation . '__') {
|
||||
next($data);
|
||||
$key = key($data);
|
||||
}
|
||||
}
|
||||
|
||||
next($relations);
|
||||
|
Loading…
Reference in New Issue
Block a user