Compare commits

...

1 Commits

Author SHA1 Message Date
dd8f93faf8
fix check in PersistentDataManager
All checks were successful
soko-web/pipeline/pr-master This commit looks good
2023-04-16 14:18:34 +02:00

View File

@ -57,7 +57,7 @@ class PersistentDataManager
$value = current($data);
$relation = key($relations);
if (strpos($key, '__') == false) {
if (strpos($key, '__') === false) {
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
if (method_exists($model, $method) && isset($value)) {