phpBB

Code Changes

File: index.php

  Unmodified   Added   Modified   Removed
Line 89Line 89
	$leap_year_birthdays = '';
if ($now['mday'] == 28 && $now['mon'] == 2 && !$user->format_date(time(), 'L'))
{

	$leap_year_birthdays = '';
if ($now['mday'] == 28 && $now['mon'] == 2 && !$user->format_date(time(), 'L'))
{

		$leap_year_birthdays = " OR user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', 29, 2)) . "%'";

		$leap_year_birthdays = " OR u.user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', 29, 2)) . "%'";

	}

$sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday

	}

$sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday