| Index: trunk/phase3/includes/GlobalFunctions.php |
| — | — | @@ -1948,7 +1948,7 @@ |
| 1949 | 1949 | $da = array(); |
| 1950 | 1950 | $strtime = ''; |
| 1951 | 1951 | |
| 1952 | | - if ( $ts == 0 ) { // This intentionally catches $ts === '' too, so DON'T change this to === |
| | 1952 | + if ( $ts == 0 ) { // This intentionally catches $ts === '' and $ts === null too, so DON'T change this to === |
| 1953 | 1953 | $uts = time(); |
| 1954 | 1954 | $strtime = "@$uts"; |
| 1955 | 1955 | } elseif ( preg_match( '/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)$/D', $ts, $da ) ) { |