From 688b338a323b1a57fd25ddbaa69601ced719ea6b Mon Sep 17 00:00:00 2001 From: Jon Stovell Date: Tue, 31 Dec 2024 18:53:16 -0700 Subject: [PATCH] Fixes undefined array key errors when modifying a message Signed-off-by: Jon Stovell --- Sources/Msg.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Msg.php b/Sources/Msg.php index 29ef811f62..62264e1d63 100644 --- a/Sources/Msg.php +++ b/Sources/Msg.php @@ -1751,9 +1751,9 @@ public static function modify(array &$msgOptions, array &$topicOptions, array &$ 'id_topic' => $topicOptions['id'], ]; $possible_topic_columns = [ - 'sticky_mode' => ['int' => 'is_sticky'], - 'lock_mode' => ['int' => 'locked'], - 'poll' => ['int' => 'id_poll'], + 'sticky_mode' => ['int', 'is_sticky'], + 'lock_mode' => ['int', 'locked'], + 'poll' => ['int', 'id_poll'], ]; // This allows mods to skip sending notifications if they don't want to.