]> _ Git - odl.git/commitdiff
wip #4914
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 5 Jan 2022 08:05:10 +0000 (09:05 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 5 Jan 2022 08:05:10 +0000 (09:05 +0100)
app/Http/Controllers/FrontController.php

index b4d26899359e5e186552d8ebd54ed7d582908cf9..9ff75b653627e595ac3b942178ef70a3aa0f8ca0 100644 (file)
@@ -66,7 +66,7 @@ class FrontController extends Controller
         $p=Publication::find('1');
         $res= $p->getPageData();
         if(null===$res->get('raccourcis')){
-            $res->set('raccourcis',json_decode($p->getAttribute('raccourcis'),true));
+            $res->set('raccourcis',$p->getAttribute('raccourcis'));
         }
         return $res;
     }