Changeset 1416

Show
Ignore:
Timestamp:
02/27/08 01:44:26 (16 months ago)
Author:
bchoate
Message:

Fixed variable name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-30/lib/MT/Object.pm

    r1410 r1416  
    518518            { $by_field => 1 }); 
    519519 
    520     my $obj = $class->load({ 
     520    my $sibling = $class->load({ 
    521521        $by_field => ($next ? [ $ts, undef ] : [ undef, $ts ]), 
    522522        'id' => $id, 
     
    524524    }, { not => { 'id' => 1 }, limit => 1, %$args }); 
    525525 
    526     return $obj; 
     526    return $sibling; 
    527527} 
    528528