Closed nkuitse closed 9 years ago
There are a lot of places where dates are compared with "0000-00-00" and "". I've factored these out into a new is_null_date() function, which is in a new file (util.php) that I may start putting some other stuff in.
I moved the new function to directory.php, since there are similar utility functions there. And that prevents us from having to worry about where to include a new util.php file. This has been added to master, so this pull request can be closed.
Factor out null date checks ("0000-00-00" or "")