Compare commits

..

No commits in common. "8a1820275d7f5d17e23da2f5dd70e93e28719a46" and "dd855a6d6b56ba0de345f4c921a6271114f7793f" have entirely different histories.

View File

@ -278,10 +278,7 @@ class PersistentDataManager implements IPersistentDataManager
$method = 'set' . str_replace('_', '', ucwords($relation, '_')); $method = 'set' . str_replace('_', '', ucwords($relation, '_'));
$model->$method($relationModel); $model->$method($relationModel);
} else { } else {
while (substr($key, 0, strlen($relation . '__')) === $relation . '__') {
next($data); next($data);
$key = key($data);
}
} }
next($relations); next($relations);