Commit 1cef60db by Carsten Brandt
parent e5919cf4
...@@ -41,7 +41,7 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module- ...@@ -41,7 +41,7 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module-
} }
} }
$codes = array_unique($codes, SORT_NUMERIC); $codes = array_unique($codes, SORT_NUMERIC);
$statusCodes = !empty($codes) ? array_combine($codes, $codes) : false; $statusCodes = !empty($codes) ? array_combine($codes, $codes) : null;
echo GridView::widget([ echo GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment