X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=db.php;h=c93e5f35fdad1fad0610603662d65b3b3115e87f;hb=b06120b7272f31b715fdec90f12e1a02956cdca2;hp=4650cb532b8bcd26814233866765ae6fbc0c911a;hpb=6e641341473c1e4ddb306bdf44730bc7d307f975;p=wfpl.git diff --git a/db.php b/db.php index 4650cb5..c93e5f3 100644 --- a/db.php +++ b/db.php @@ -394,7 +394,7 @@ function db_reposition_respace($table, $field) { # $pretty is used in error messages to refer to the row, it defaults to whatever you pass for $table. function db_reposition($table, $row_id, $new_pos, $field = 'ord', $pretty = 'same as $table', $renumbered_already = false) { - if($pretty = 'same as $table') { + if($pretty == 'same as $table') { $pretty = $table; }