Changeset 1193


Ignore:
Timestamp:
12/26/12 16:59:04 (11 years ago)
Author:
nanardon
Message:

Fix #14, object list is now compared to lowercase value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Ajax.pm

    r1191 r1193  
    6565} 
    6666 
     67=head2 objexist 
     68 
     69Return HTML picture telling if object name is free or already used 
     70 
     71=cut 
     72 
    6773sub objexist : Local { 
    6874    my ($self, $c, $otype) = @_; 
    6975    my $base = $c->model('Accounts')->db; 
    70     my $val = $c->req->param('val'); 
     76    my $val = lc($c->req->param('val') || ''); 
    7177    my $obj = $base->get_object($otype, $val); 
    7278 
Note: See TracChangeset for help on using the changeset viewer.