Ignore:
Timestamp:
Oct 1, 2017, 10:08:07 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Translate null datetime to emptry string.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Global.php

    r872 r874  
    316316function HumanDate($SQLDateTime)
    317317{
     318  if($SQLDateTime == '') return(' ');
    318319  $DateTimeParts = explode(' ', $SQLDateTime);
    319320  if($DateTimeParts[0] != '0000-00-00')
     
    326327function HumanDateTime($SQLDateTime)
    327328{
     329  if($SQLDateTime == '') return(' ');
    328330  $DateTimeParts = explode(' ', $SQLDateTime);
    329331  if($DateTimeParts[0] != '0000-00-00' and $SQLDateTime <> '')
Note: See TracChangeset for help on using the changeset viewer.