From dece3229126ab0ec1acc0c85dd4bb39a8e81a4ba Mon Sep 17 00:00:00 2001 From: vargenau Date: Tue, 3 Mar 2009 09:23:14 +0000 Subject: [PATCH] $error_text not set git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@6618 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/PageGroup.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plugin/PageGroup.php b/lib/plugin/PageGroup.php index 2f74a5ae9..d3e7d82d0 100644 --- a/lib/plugin/PageGroup.php +++ b/lib/plugin/PageGroup.php @@ -99,9 +99,8 @@ extends WikiPlugin if (empty($parent)) { // FIXME: WikiPlugin has no way to report when // required args are missing? - $error_text = fmt("%s: %s", "WikiPlugin_" .$this->getName(), - $error_text); - $error_text .= " " . sprintf(_("A required argument '%s' is missing."), 'parent'); + $error_text = fmt("%s: ", "WikiPlugin_" .$this->getName()); + $error_text .= sprintf(_("A required argument '%s' is missing."), 'parent'); return HTML::div(array('class' => "error"), $error_text); } $directions = array ('next' => _("Next"), -- 2.45.0