Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Typo in profile. [C-Chris]
#1
Not sure if this is global in MyBB or just on these forums, staff can move where appropriate.

Anyway, look at my profile: http://community.mybboard.net/user-25.html

Quote:Date of Birth: Mararch 16th, 1988 (20 years old)

Just something small and trivial I noticed.
@ryanashbrook
Do NOT PM me for Support!
#2
brrr ... lousy smarch weather
#3
It's just on these forums. My global.lang.php is showing it as "March"
-Doug
1scream Founder
Former MyBB Developer & SQA Member
My Twitter
#4
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
#5
It wasn't so much a typo but str_replace bleeding in the array loop

// This needs to be in this specific order
	$find = array(
		'm',
		'd',
		'y',
		'Y',
		'j',
		'S',
		'l',
		'F',
		'M',
	);

	$replace = array(
		sprintf('%02s', $bm),
		sprintf('%02s', $bd),
		my_substr($by, 2),
		$by,
		($bd[0] == 0 ? my_substr($bd, 1) : $bd),
		($bd == 1 || $bd == 21 || $bd == 31 ? 'st' : ($bd == 2 || $bd == 22 ? 'nd' : ($bd == 3 || $bd == 23 ? 'rd' : 'th'))),
		$bdays[$wd],
		$bmonth[$bm-1],
		($bm == 9 ? my_substr($bmonth[$bm-1], 0, 4) :  my_substr($bmonth[$bm-1], 0, 3)),
	);


Forum Jump:


Users browsing this thread: 1 Guest(s)