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}; |
175 |
my $where = " WHERE " . join (" AND ", @where_strs) if @where_strs; |
175 |
my $where = @where_strs ? " WHERE " . join (" AND ", @where_strs) : undef; |