From: Evan Prodromou Date: Thu, 22 Jan 2009 19:07:13 +0000 (+0100) Subject: Fix section widget's output calls X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3cfb708dcd407b3d6d34b89171bf599f09205222;p=quix0rs-gnu-social.git Fix section widget's output calls --- 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()