Commit 465924fc authored by catch's avatar catch
Browse files

Issue #1875870 by dawehner: Cleanup WizardPluginBase::build_sorts().

parent 43658a4e
......@@ -601,12 +601,6 @@ protected function build_sorts(&$form, &$form_state) {
$sorts += $available_sorts;
}
foreach ($sorts as &$option) {
if (is_object($option)) {
$option = $option->get();
}
}
// If there is no sorts option available continue.
if (!empty($sorts)) {
$form['displays']['show']['sort'] = array(
......
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