Explorar o código

! Yeah, we need to export the software year to that sprintf too. Fixes #1099

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer %!s(int64=10) %!d(string=hai) anos
pai
achega
4b50dc7a4b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/Who.php

+ 2 - 2
Sources/Who.php

@@ -520,7 +520,7 @@ function determineActions($urls, $preferred_prefix = false)
  */
 function Credits($in_admin = false)
 {
-	global $context, $smcFunc, $modSettings, $forum_copyright, $forum_version, $boardurl, $txt, $user_info;
+	global $context, $smcFunc, $modSettings, $forum_copyright, $forum_version, $software_year, $boardurl, $txt, $user_info;
 
 	// Don't blink. Don't even blink. Blink and you're dead.
 	loadLanguage('Who');
@@ -769,7 +769,7 @@ function Credits($in_admin = false)
 	$context['credits_modifications'] = $mods;
 
 	$context['copyrights'] = array(
-		'smf' => sprintf($forum_copyright, $forum_version),
+		'smf' => sprintf($forum_copyright, $forum_version, $software_year),
 		/* Modification Authors:  You may add a copyright statement to this array for your mods.
 			Copyright statements should be in the form of a value only without a array key.  I.E.:
 				'Some Mod by Thantos &copy; 2010',