FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » birthday display
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: birthday display [message #19439 is a reply to message #19435] Tue, 20 July 2004 13:16 Go to previous messageGo to previous message
betacire   France
Messages: 18
Registered: July 2004
Karma:
Junior Member
It seems that the variable's value for usrinfo is defined in the function :

function convert_bdate($val, $month_fmt)
{
	$ret['year']	= substr($val, 0, 4);
	$ret['day']	= substr($val, 6, 2);
	$ret['month']	= strftime($month_fmt, mktime(1, 1, 1, substr($val, 4, 2), 11, 2000));

	return $ret;
}


Wouldn't it be possible to test if the substr part of $val is different of "00" and otherwise to return an empty string ?

For the admin part, it's not very important.

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: registration email issues
Next Topic: Search function doesn't work
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 18:32:56 GMT 2024

Total time taken to generate the page: 0.04545 seconds