Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1625/include
Modified Files:
functions_comments.inc.php
Log Message:
forget about passing it by reference, there are places (like on comment
moderation) where we pass straight arrays and that throws errors.
Index: functions_comments.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_comments.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- functions_comments.inc.php 23 Nov 2004 16:38:58 -0000 1.3
+++ functions_comments.inc.php 24 Nov 2004 10:19:05 -0000 1.4
@@ -142,7 +142,7 @@
return $retval;
}
-function serendipity_printComments(&$comments, $parentid = 0, $depth = 0, $trace = null) {
+function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace = null) {
global $serendipity;
static $_smartyComments;
|