settings load from database and i18n from config files

This commit is contained in:
xiaomlove
2021-01-12 21:14:02 +08:00
parent f763eeac98
commit 9934c312b7
16 changed files with 374 additions and 360 deletions

View File

@@ -10,7 +10,7 @@ if ($_SERVER["REQUEST_METHOD"] != "POST")
$origmsg = intval($_POST["origmsg"] ?? 0);
$msg = trim($_POST["body"]);
if ($_POST['forward'] == 1) //this is forwarding
if (isset($_POST['forward']) && $_POST['forward'] == 1) //this is forwarding
{
if (!$origmsg)
stderr($lang_takemessage['std_error'], $lang_takemessage['std_invalid_id']);