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