From 6e641341473c1e4ddb306bdf44730bc7d307f975 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Mon, 29 Mar 2010 15:42:02 -0400 Subject: [PATCH] fixed db_reposition(x, 0) --- db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.php b/db.php index c5683c0..4650cb5 100644 --- a/db.php +++ b/db.php @@ -398,7 +398,7 @@ function db_reposition($table, $row_id, $new_pos, $field = 'ord', $pretty = 'sam $pretty = $table; } - if($new_pos == 'ignored') { + if($new_pos === 'ignored') { # not sorted return '0'; } -- 1.7.10.4