From 3cfb708dcd407b3d6d34b89171bf599f09205222 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Jan 2009 20:07:13 +0100 Subject: [PATCH] Fix section widget's output calls --- lib/section.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/section.php b/lib/section.php index d64095a3eb..0c32ddcf84 100644 --- a/lib/section.php +++ b/lib/section.php @@ -69,14 +69,14 @@ class Section extends Widget $have_more = $this->showContent(); if ($have_more) { - $this->elementStart('p'); - $this->element('a', array('href' => $this->moreUrl(), + $this->out->elementStart('p'); + $this->out->element('a', array('href' => $this->moreUrl(), 'class' => 'more'), $this->moreTitle()); - $this->elementEnd('p'); + $this->out->elementEnd('p'); } - $this->elementEnd('div'); + $this->out->elementEnd('div'); } function divId() -- 2.39.5