From 7b50acbc524159ed13c56dd28706f5c359c0073d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Jul 2008 02:41:55 -0400 Subject: consolidate show_notice and show_reply darcs-hash:20080707064155-84dde-fb6209b36ff8066335249c0602b2e78961f90c55.gz --- actions/replies.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/replies.php') diff --git a/actions/replies.php b/actions/replies.php index a371f3787..463d9e338 100644 --- a/actions/replies.php +++ b/actions/replies.php @@ -80,7 +80,7 @@ class RepliesAction extends StreamAction { $cnt = $reply->find(); if ($cnt > 0) { - common_element_start('ul', array('id' => 'replies')); + common_element_start('ul', array('id' => 'notices')); for ($i = 0; $i < min($cnt, NOTICES_PER_PAGE); $i++) { if ($reply->fetch()) { $notice = new Notice(); @@ -89,7 +89,7 @@ class RepliesAction extends StreamAction { if (!$result) { continue; } - $this->show_reply($notice, $reply->replied_id); + $this->show_notice($notice, $reply->replied_id); } else { // shouldn't happen! break; -- cgit v1.2.3-54-g00ecf