Compare commits
No commits in common. "4af7ae352108e7ba151fca2633ff4b40b3194b32" and "bf4520a7dd400e0c47e21169c6e4e01c1fccf836" have entirely different histories.
4af7ae3521
...
bf4520a7dd
@ -57,7 +57,7 @@ class PersistentDataManager
|
|||||||
$value = current($data);
|
$value = current($data);
|
||||||
$relation = key($relations);
|
$relation = key($relations);
|
||||||
|
|
||||||
if (strpos($key, '__') === false) {
|
if (strpos($key, '__') == false) {
|
||||||
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
||||||
|
|
||||||
if (method_exists($model, $method) && isset($value)) {
|
if (method_exists($model, $method) && isset($value)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user