Kaynağa Gözat

Of course the topic id should be logged too... - Thanks live627 to point it out

Signed-off-by: emanuele <[email protected]>
emanuele 12 yıl önce
ebeveyn
işleme
32cffa6bf4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Sources/Post.php

+ 1 - 1
Sources/Post.php

@@ -2410,7 +2410,7 @@ function AnnouncementSend()
 	// All members have received a mail. Go to the next screen.
 	if ($smcFunc['db_num_rows']($request) == 0)
 	{
-		logAction('announce_topic', array(), 'user');
+		logAction('announce_topic', array('topic' => $topic), 'user');
 		if (!empty($_REQUEST['move']) && allowedTo('move_any'))
 			redirectexit('action=movetopic;topic=' . $topic . '.0' . (empty($_REQUEST['goback']) ? '' : ';goback'));
 		elseif (!empty($_REQUEST['goback']))