diff --git a/views/pages/Photo.php b/views/pages/Photo.php index 0e9ca32..bb63026 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -334,8 +334,9 @@ if ($photo->i('id') !== null) {
$photo->i('entitydata_id')))[0]; $vehiclevariables = json_decode($vehicle->i('sampledata'), true); - $vehicledatavariables = json_decode($vehicle->i('content'), true); + $vehicledatavariables = json_decode($entity['content'], true); $num = 1; foreach ($vehiclevariables as $vb) { echo '