fix check in PersistentDataManager
soko-web/pipeline/pr-master This commit looks good

This commit is contained in:
bence authored and bence committed 2023-04-16 15:59:47 +02:00
1 parent bf4520a7dd
commit 9d4cb86d41
1 file changed
+1 -1
+1 -1
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)) {