[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.217,1.218
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Mon Apr 28 04:15:36 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv17424
Modified Files:
lib-common.php
Log Message:
Workaround for a bug that is yet to be resolved: On rare occassions, Geeklog seems to store comments with an empty 'type' field. Assume those to be comments of tpye 'article' in COM_whatsNewBlock().
Index: lib-common.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.217
retrieving revision 1.218
diff -C2 -d -r1.217 -r1.218
*** lib-common.php 21 Apr 2003 16:49:33 -0000 1.217
--- lib-common.php 28 Apr 2003 08:15:33 -0000 1.218
***************
*** 3952,3956 ****
$A = DB_fetchArray( $result );
! if( $A['type'] == 'article' )
{
$itemlen = strlen( $A['title'] );
--- 3952,3956 ----
$A = DB_fetchArray( $result );
! if(( $A['type'] == 'article' ) || empty( $A['type'] ))
{
$itemlen = strlen( $A['title'] );
More information about the geeklog-cvs
mailing list