Kaynağa Gözat

Merge pull request #1263 from Oldiesmann/release-2.1

! Missing global variables can do weird things (fixes #1223)
Michael Eshom 11 yıl önce
ebeveyn
işleme
23d6a4abb7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Themes/default/Calendar.template.php

+ 1 - 1
Themes/default/Calendar.template.php

@@ -519,7 +519,7 @@ function template_calendar_base($col_span = 1)
 // Template for posting a calendar event.
 function template_event_post()
 {
-	global $context, $txt, $scripturl;
+	global $context, $txt, $scripturl, $modSettings;
 
 	echo '
 		<form action="', $scripturl, '?action=calendar;sa=post" method="post" name="postevent" accept-charset="', $context['character_set'], '" onsubmit="submitonce(this);smc_saveEntities(\'postevent\', [\'evtitle\']);" style="margin: 0;">';