[geeklog-cvs] geeklog-1.3/system lib-comment.php,1.4,1.5

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Thu Jan 27 04:22:30 EST 2005


Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv32638

Modified Files:
	lib-comment.php 
Log Message:
Fixed date in comment preview (bug #370)


Index: lib-comment.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-comment.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** lib-comment.php	27 Jan 2005 09:14:08 -0000	1.4
--- lib-comment.php	27 Jan 2005 09:22:28 -0000	1.5
***************
*** 209,212 ****
--- 209,216 ----
      {
          $A = $comments;   
+         if( empty( $A['nice_date'] ))
+         {
+             $A['nice_date'] = time();
+         }
          $mode = 'flat';
      }




More information about the geeklog-cvs mailing list