Diff for /loncom/lonsql between versions 1.84 and 1.85

version 1.84, 2007/08/08 22:24:36 version 1.85, 2007/08/25 13:45:56
Line 457  sub make_new_child { Line 457  sub make_new_child {
                 $query = "SELECT $fieldlist FROM allusers WHERE (domain = $quoted_dom AND ";                  $query = "SELECT $fieldlist FROM allusers WHERE (domain = $quoted_dom AND ";
                 if ($srchby eq 'lastfirst') {                  if ($srchby eq 'lastfirst') {
                     my ($fraglast,$fragfirst) = split(/,/,$srchterm);                      my ($fraglast,$fragfirst) = split(/,/,$srchterm);
                       $fragfirst =~ s/^\s+//;
                       $fraglast =~ s/\s+$//;
                     if ($srchtype eq 'exact') {                      if ($srchtype eq 'exact') {
                         $query .= 'lastname = '.$dbh->quote($fraglast).                          $query .= 'lastname = '.$dbh->quote($fraglast).
                                   ' AND firstname = '.$dbh->quote($fragfirst);                                    ' AND firstname = '.$dbh->quote($fragfirst);

Removed from v.1.84  
changed lines
  Added in v.1.85


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>