Compare commits
1 Commits
9d4cb86d41
...
dd8f93faf8
Author | SHA1 | Date | |
---|---|---|---|
dd8f93faf8 |
@ -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