approval allow automatic

This commit is contained in:
xiaomlove
2022-10-04 18:43:00 +08:00
parent bb000fb67a
commit 2737302281
9 changed files with 41 additions and 7 deletions
+3
View File
@@ -239,6 +239,9 @@ header("Refresh: 0; url=staffbox.php?action=viewpm&pmid=$id");
//////////////////////////
if ($action == "takecontactanswered") {
if (empty($_POST['setanswered'])) {
stderr($lang_staffbox['std_sorry'], nexus_trans('nexus.select_one_please'));
}
if ($_POST['setdealt']){
$res = sql_query ("SELECT * FROM staffmessages WHERE answered=0 AND id IN (" . implode(", ", $_POST['setanswered']) . ")");