瀏覽代碼

Bug 27715: (QA follow-up) Remove conditional declaration

Resolves:
FAIL critic # Variables::ProhibitConditionalDeclarations: Got 1 violation(s).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Marcel de Rooy 3 年前
提交者 Jonathan Druart
父節點
當前提交
197c1fedc6
  1. 3
      C4/Utils/DataTables.pm

3
C4/Utils/DataTables.pm

@ -116,8 +116,7 @@ sub dt_build_orderby {
push @sanitized_orderbys, "$sanitized_identifier $sanitized_direction";
}
my $orderby = " ORDER BY " . join(',', @sanitized_orderbys) . " " if @sanitized_orderbys;
return $orderby;
return " ORDER BY " . join(',', @sanitized_orderbys) . " " if @sanitized_orderbys;
}
=head2 dt_get_params

載入中…
取消
儲存