Skip to content

Commit

Permalink
Applied fix #378 change for self::PEER
Browse files Browse the repository at this point in the history
  • Loading branch information
rozwell committed Aug 12, 2012
1 parent 957b90a commit 7e169b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public function insertAtRank(\$rank, PropelPDO \$con = null)
if (\$rank != \$maxRank + 1) {
// Keep the list modification query for the save() transaction
\$this->sortableQueries []= array(
'callable' => array('$peerClassname', 'shiftRank'),
'callable' => array(self::PEER, 'shiftRank'),
'arguments' => array(1, \$rank, null, " . ($useScope ? "\$this->{$this->getColumnGetter('scope_column')}()" : '') . ")
);
}
Expand Down Expand Up @@ -647,7 +647,7 @@ public function removeFromList(PropelPDO \$con = null)
{
// Keep the list modification query for the save() transaction
\$this->sortableQueries []= array(
'callable' => array('$peerClassname', 'shiftRank'),
'callable' => array(self::PEER, 'shiftRank'),
'arguments' => array(-1, \$this->{$this->getColumnGetter()}() + 1, null" . ($useScope ? ", \$this->{$this->getColumnGetter('scope_column')}()" : '') . ")
);
// remove the object from the list
Expand Down

0 comments on commit 7e169b3

Please sign in to comment.