Index: trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
===================================================================
--- trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 380)
+++ trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 389)
@@ -231,5 +231,6 @@
 function xpress_comment_count( $count ) {
         global $id;
-        $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id));
+        $post_comments =get_comments('status=approve&post_id=' . $id);
+        $comments_by_type = &separate_comments($post_comments);
         return count($comments_by_type['comment']);
 }
