Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: user.php 4620 2009-12-20 07:29:15Z dennis $
| * $Id: user.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 379 | Zeile 379 |
---|
{ $this->set_error("invalid_birthday"); return false;
|
{ $this->set_error("invalid_birthday"); return false;
|
| } 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"))) { $this->set_error("invalid_birthday"); return false; }
|
}
// Error if COPPA is on, and the user hasn't verified their age / under 13
| }
// Error if COPPA is on, and the user hasn't verified their age / under 13
|