View | Details | Raw Unified | Return to bug 24964
Collapse All | Expand All

(-)a/C4/Utils/DataTables/Members.pm (-2 / +1 lines)
Lines 172-178 sub search { Link Here
172
        push @where_args, ($has_permission->{module_bit}) x 2, $has_permission->{subpermission};
172
        push @where_args, ($has_permission->{module_bit}) x 2, $has_permission->{subpermission};
173
    }
173
    }
174
174
175
    my $where = " WHERE " . join (" AND ", @where_strs) if @where_strs;
175
    my $where = @where_strs ? " WHERE " . join (" AND ", @where_strs) : undef;
176
    my $orderby = dt_build_orderby($dt_params);
176
    my $orderby = dt_build_orderby($dt_params);
177
177
178
    my $limit;
178
    my $limit;
179
- 

Return to bug 24964