fix takeedit.php array_sum()

This commit is contained in:
xiaomlove
2021-03-03 00:23:08 +08:00
parent 16bd7ac76d
commit 528d559f24
4 changed files with 38 additions and 39 deletions

View File

@@ -55,7 +55,7 @@ if (!empty($_POST['pt_gen'])) {
$updateset[] = "pt_gen = ''";
}
$updateset[] = "tags = " . array_sum($_POST['tags']);
$updateset[] = "tags = " . array_sum($_POST['tags'] ?? []);
if ($enablenfo_main=='yes'){
$nfoaction = $_POST['nfoaction'];