We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e7a90 commit 98e48ebCopy full SHA for 98e48eb
administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php
@@ -76,7 +76,12 @@ public function execute()
76
$model = new $modelClass($this->context, null, Factory::getDbo());
77
78
// Initialize the state for the model
79
- $model->setState($this->initializeState($model));
+ $state = $this->initializeState($model);
80
+
81
+ foreach ($state as $key => $value)
82
+ {
83
+ $model->setState($key, $value);
84
+ }
85
86
// Initialize the view class now
87
$view = new $viewClass($model, $paths);
0 commit comments