From: <var...@us...> - 2012-12-07 12:12:25
|
Revision: 8624 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8624&view=rev Author: vargenau Date: 2012-12-07 12:12:19 +0000 (Fri, 07 Dec 2012) Log Message: ----------- No need for sprintf Modified Paths: -------------- trunk/lib/plugin/WantedPages.php Modified: trunk/lib/plugin/WantedPages.php =================================================================== --- trunk/lib/plugin/WantedPages.php 2012-12-07 11:49:09 UTC (rev 8623) +++ trunk/lib/plugin/WantedPages.php 2012-12-07 12:12:19 UTC (rev 8624) @@ -129,10 +129,11 @@ arsort($this->_wpagelist); }*/ if (!$noheader) { - if ($page) + if ($page) { $pagelist->setCaption(sprintf(_("Wanted Pages for %s:"), $page)); - else - $pagelist->setCaption(sprintf(_("Wanted Pages in this wiki:"))); + } else { + $pagelist->setCaption(_("Wanted Pages in this wiki:")); + } } // reference obviously doesn't work, so force an update to add _wpagelist to parentobj if (isset($pagelist->_columns[1]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |