Browse code

Add alias to assets

Benjamin Roth authored on01/10/2024 14:44:53
Showing1 changed files
... ...
@@ -49,7 +49,8 @@ class RealEstateAssetsReaderController extends RealEstateAssetsModuleController
49 49
         $jumpTo = PageModel::findByPk($model->jumpTo);
50 50
 
51 51
         // Set the item from the auto_item parameter
52
-        if (!isset($_GET['items']) && \Config::get('useAutoItem') && isset($_GET['auto_item']))
52
+        dump($_GET);
53
+        if (Input::get('items') === null && \Config::get('useAutoItem') && Input::get('auto_item'))
53 54
         {
54 55
             Input::setGet('items', Input::get('auto_item'));
55 56
         }