Minor fixes from photo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user