From: Michael J. Rubinsky Date: Fri, 7 Jan 2011 20:35:01 +0000 (-0500) Subject: fix fatal error when renaming a page X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c7f3fc37acc819afc62cf2440b81c8325695f3dc;p=horde.git fix fatal error when renaming a page Not sure if it would be better simply to change the base implementation to return an empty string instead of throwing an exception, but this fixes the issue for now. --- diff --git a/wicked/lib/Page/AddPage.php b/wicked/lib/Page/AddPage.php index f89745a66..a034a371b 100644 --- a/wicked/lib/Page/AddPage.php +++ b/wicked/lib/Page/AddPage.php @@ -106,4 +106,15 @@ class Wicked_Page_AddPage extends Wicked_Page { return $this->_newpage; } + /** + * + * + * @return string + */ + public function getText() + { + // New page, no text to return + return ''; + } + }