From: Jason Woofenden Date: Mon, 29 Mar 2010 19:42:02 +0000 (-0400) Subject: fixed db_reposition(x, 0) X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=6e641341473c1e4ddb306bdf44730bc7d307f975 fixed db_reposition(x, 0) --- 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'; }