Changeset 139

Show
Ignore:
Timestamp:
2008-03-18 16:31:14 (10 months ago)
Author:
hannes
Message:

catching NULL values in birthday field (ticket #78)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/misc/Member.php

    r130 r139  
    387387        $table->addRow(Array($LANG['Stage'] . ':', $this->stage)); 
    388388        $table->addRow(Array($LANG['Registration'] . ':', $F->datetime($this->registration, TRUE, FALSE))); 
    389         if ($this->birthday !== '0000-00-00') { 
     389        if ($this->birthday !== NULL && $this->birthday !== '0000-00-00') { 
    390390            $table->addRow(Array($LANG['Birthday'] . ':', $F->datetime($this->birthday, TRUE, FALSE))); 
    391391        } else {