fix: [metafield] account for "raw" being null but still set - use isset for the check
parent
ad72115fd5
commit
8d57ce11a4
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!empty($field['raw'])) {
|
if (isset($field['raw'])) {
|
||||||
$string = $field['raw'];
|
$string = $field['raw'];
|
||||||
} else {
|
} else {
|
||||||
$value = Cake\Utility\Hash::extract($data, $field['path']);
|
$value = Cake\Utility\Hash::extract($data, $field['path']);
|
||||||
|
|
Loading…
Reference in New Issue