fix common undefined constant error

This commit is contained in:
xiaomlove
2021-03-31 03:17:33 +08:00
parent 32dee2d6e3
commit 4e7fb39d90
19 changed files with 91 additions and 91 deletions
+2 -2
View File
@@ -220,12 +220,12 @@ if($CURUSER["id"] == $row["owner"])
}
else
{
write_log("Torrent $id ($name) was edited by $CURUSER[username]" . $pick_info . $place_info);
write_log("Torrent $id ($name) was edited by {$CURUSER['username']}" . $pick_info . $place_info);
}
}
else
{
write_log("Torrent $id ($name) was edited by $CURUSER[username], Mod Edit" . $pick_info . $place_info);
write_log("Torrent $id ($name) was edited by {$CURUSER['username']}, Mod Edit" . $pick_info . $place_info);
}
$returl = "details.php?id=$id&edited=1";
if (isset($_POST["returnto"]))