Minor fixes from photo

This commit is contained in:
Deon George
2015-09-29 15:40:15 +10:00
parent db7f5f8d55
commit 9a41635025
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ abstract class lnApp_Site {
* @note We need this function here, since we call self:: methods, which need to resolve to the child class.
*/
public static function Datetime($date) {
return sprintf('%s %s',self::Date($date),self::Time($date));
return $date ? sprintf('%s %s',self::Date($date),self::Time($date)) : NULL;
}
/**