[pLog-svn] r2087 - plugins/trunk/nestedcomments
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Fri May 27 19:07:43 GMT 2005
Author: oscar
Date: 2005-05-27 19:07:42 +0000 (Fri, 27 May 2005)
New Revision: 2087
Modified:
plugins/trunk/nestedcomments/pluginnestedcomments.class.php
Log:
little fix
Modified: plugins/trunk/nestedcomments/pluginnestedcomments.class.php
===================================================================
--- plugins/trunk/nestedcomments/pluginnestedcomments.class.php 2005-05-27 17:50:21 UTC (rev 2086)
+++ plugins/trunk/nestedcomments/pluginnestedcomments.class.php 2005-05-27 19:07:42 UTC (rev 2087)
@@ -99,7 +99,9 @@
// prevent the php warning by returning for example an
// empty array
if( !is_array( $postComments ))
- return( Array());
+ return( Array());
+ if( empty($postComments ))
+ return( Array());
foreach( $postComments as $comment ) {
$key = $comment->getParentId();
More information about the pLog-svn
mailing list