fix php8 compatibility

This commit is contained in:
xiaomlove
2020-12-28 20:52:54 +08:00
parent 77ebc7caa4
commit 32d47b66c9
29 changed files with 357 additions and 302 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ if (!$is_rulelang){
}
$res = sql_query("SELECT * FROM rules WHERE lang_id = ".sqlesc($lang_id)." ORDER BY id");
while ($arr=mysql_fetch_assoc($res)){
begin_frame($arr[title], false);
begin_frame($arr['title'], false);
print(format_comment($arr["text"]));
end_frame();
}