[geeklog-cvs] Geeklog-1.x/system lib-comment.php,1.66,1.67

Dirk Haun dhaun at qs1489.pair.com
Sun Jul 27 11:21:04 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv94406/system

Modified Files:
	lib-comment.php 
Log Message:
E_ALL fixes in comment preview


Index: lib-comment.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-comment.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** lib-comment.php	7 Jul 2008 18:29:08 -0000	1.66
--- lib-comment.php	27 Jul 2008 15:21:00 -0000	1.67
***************
*** 751,757 ****
                  }
  
!                 if (empty ($A['username'])) {
!                     $A['username'] = DB_getItem ($_TABLES['users'], 'username',
!                                                  "uid = $uid");
                  }
                  $thecomments = CMT_getComment ($A, 'flat', $type, 'ASC', false,
--- 751,757 ----
                  }
  
!                 if (empty($A['username']) || empty($A['fullname']) || empty($A['email'])) {
!                     $nresult = DB_query("SELECT username, fullname, email FROM {$_TABLES['users']} WHERE uid = $uid");
!                     list($A['username'], $A['fullname'], $A['email']) = DB_fetchArray($nresult);
                  }
                  $thecomments = CMT_getComment ($A, 'flat', $type, 'ASC', false,




More information about the geeklog-cvs mailing list