Changeset 628 for LATMOS-Accounts/lib/LATMOS
- Timestamp:
- 01/17/10 15:43:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Objects.pm
r598 r628 423 423 my $obj = $base->get_object($class->type, $_) or next; 424 424 my $id = $obj->_get_c_field($field) or next; 425 $existsid{$id} = 1; 426 } 425 $existsid{$id + 0} = 1; 426 } 427 $min += 0; 428 $max += 0; 427 429 for(my $i = $min; $i <= $max; $i++) { 428 $existsid{$i} or return $i; 430 $existsid{$i + 0} or do { 431 $base->log(LA_DEBUG, "Next %s found: %d", $field, $i); 432 return $i; 433 }; 429 434 } 430 435 return;
Note: See TracChangeset
for help on using the changeset viewer.