Permalink
Browse files

Update column names:

  left --> left_ptr
  right --> right_ptr
  • Loading branch information...
1 parent 96b96b1 commit 597447673d1330567d19d445f8dde454128619db @bharat bharat committed Aug 6, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 modules/rescue/helpers/rescue_task.php
@@ -85,15 +85,15 @@ static function children($parent_id) {
->select("id")
->from("items")
->where("parent_id", $parent_id)
- ->orderby("left", "ASC")
+ ->orderby("left_ptr", "ASC")
->get();
}
static function set_left($id, $value) {
- Database::instance()->update("items", array("left" => $value), array("id" => $id));
+ Database::instance()->update("items", array("left_ptr" => $value), array("id" => $id));
}
static function set_right($id, $value) {
- Database::instance()->update("items", array("right" => $value), array("id" => $id));
+ Database::instance()->update("items", array("right_ptr" => $value), array("id" => $id));
}
}

0 comments on commit 5974476

Please sign in to comment.