http://www.icyphoenix.com/viewtopic.php?f=29&t=4156&p=28548#p28548
-----------------------------------
Mighty Gorgon
Sun 18 May, 2008 20:15

Re: Duplicate Birthday Entries
-----------------------------------
You are right, it is a bug.

OPEN [b]includes/functions_calendar.php[/b]
FIND
[codeblock]	$current_page = $_SERVER['PHP_SELF'];

	for ($i = 0; $i < count($pages_array); $i++)
	{
		if (strpos(strtolower($current_page), strtolower($pages_array[$i])) !== false)
		{
			get_birthday($events, $number, $start_date, $end_date);
		}
	}[/codeblock]
REPLACE WITH
[codeblock]	$current_page = basename($_SERVER['PHP_SELF']);

	if (in_array(strtolower($current_page), $pages_array))
	{
		get_birthday($events, $number, $start_date, $end_date);
	}[/codeblock]

Let me know if this will solve your problem.


