JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed db_reposition(x, 0)
[wfpl.git] / db.php
diff --git a/db.php b/db.php
index c5683c0..4650cb5 100644 (file)
--- 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';
        }