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