diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-11 04:54:39 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-11 04:54:39 -0700 |
commit | c34189c033480f874fd61269d6a1c5a3306c0e3e (patch) | |
tree | 926b0a42ac4a333b5d21ebd742d8bfc179124495 /include | |
parent | aeac832728eb898bfaa0bcc234093ab3ca0eff17 (diff) | |
download | volse-hubzilla-c34189c033480f874fd61269d6a1c5a3306c0e3e.tar.gz volse-hubzilla-c34189c033480f874fd61269d6a1c5a3306c0e3e.tar.bz2 volse-hubzilla-c34189c033480f874fd61269d6a1c5a3306c0e3e.zip |
fix birthday
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php index 540c43691..b0621f4a2 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -153,7 +153,7 @@ function relative_date($posted_date) { } function age($dob,$owner_tz = '',$viewer_tz = '') { - if(strlen($dob) != 10) + if(! intval($dob)) return 0; if(! $owner_tz) $owner_tz = date_default_timezone_get(); |