From 30e5e305bb5505dc96b4be35b554a2f4796c977b Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Tue, 23 Sep 2025 17:12:20 +0700 Subject: [PATCH] misc fix --- nexus/Imdb/Imdb.php | 2 +- public/messages.php | 4 ++-- public/usercp.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nexus/Imdb/Imdb.php b/nexus/Imdb/Imdb.php index beafbea0..3899bcde 100644 --- a/nexus/Imdb/Imdb.php +++ b/nexus/Imdb/Imdb.php @@ -212,7 +212,7 @@ class Imdb $autodata .= rtrim(trim($temp), ","); } elseif ($creator) - $autodata .= "".$lang_details['text_creator']."".$creator; + $autodata .= "".$lang_details['text_creator']."".implode(", ", array_column($creator, 'name')); $autodata .= "
\n".$lang_details['text_written_by'].""; $temp = ""; diff --git a/public/messages.php b/public/messages.php index 5adc6fa7..ddee3bd2 100644 --- a/public/messages.php +++ b/public/messages.php @@ -289,8 +289,8 @@ stdfoot(); } if ($action == "moveordel") { -$pm_id = (int) $_POST['id'] ?? 0; -$pm_box = (int) $_POST['box']; +$pm_id = intval($_POST['id'] ?? 0); +$pm_box = intval($_POST['box'] ?? 0); $pm_messages = $_POST['messages']; if ($_POST['markread']) { diff --git a/public/usercp.php b/public/usercp.php index 1fa6e008..0011988c 100644 --- a/public/usercp.php +++ b/public/usercp.php @@ -225,7 +225,7 @@ tr($lang_usercp['row_school'], "", 1); $text -
\n".$lang_usercp['text_avatar_note'].($enablebitbucket_main == 'yes' ? $lang_usercp['text_bitbucket_note'] : ""),1); tr($lang_usercp['row_info'], "
".$lang_usercp['text_info_note'], 1); submit();