Vergleich inc/datahandlers/user.php - 1.6.0 - 1.6.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 382Zeile 382
		else if($birthday['year'] == date("Y"))
{
// Error if birth date is in future

		else if($birthday['year'] == date("Y"))
{
// Error if birth date is in future

			if($birthday['month'] > date("m") || ($birthday['month'] == date("m") && $bithday['day'] > date("d")))

			if($birthday['month'] > date("m") || ($birthday['month'] == date("m") && $birthday['day'] > date("d")))

			{
$this->set_error("invalid_birthday");
return false;

			{
$this->set_error("invalid_birthday");
return false;

Zeile 446Zeile 446
	function verify_profile_fields()
{
global $db;

	function verify_profile_fields()
{
global $db;

 

if($this->admin_override == true)
{
return true;
}


$user = &$this->data;
$profile_fields = &$this->data['profile_fields'];


$user = &$this->data;
$profile_fields = &$this->data['profile_fields'];