Changeset 462 for LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql
- Timestamp:
- 09/30/09 23:01:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Aliases.pm
r371 r462 89 89 if (my $res = $sth->fetchrow_hashref) { 90 90 $next = $res->{forward}; 91 $next = ref $next 92 ? join(',', @$next) 93 : $next; 91 94 next; 92 95 } else { … … 99 102 if ($field =~ /^(parents|anyparents|sameforward|samedestination)$/) { 100 103 my $sth = $self->db->prepare_cached(q{ 101 select name from aliases where lower(forward) = lower($1) 104 select name from aliases where array[lower($1)] <@ 105 string_to_array(lower(array_to_string("forward", ',')), ',') 102 106 }); 103 107 my @tocheck = ($field =~ /^sameforward$/
Note: See TracChangeset
for help on using the changeset viewer.