projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4efcde6
)
fix fatal error when renaming a page
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 7 Jan 2011 20:35:01 +0000
(15:35 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 7 Jan 2011 20:36:01 +0000
(15:36 -0500)
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.
wicked/lib/Page/AddPage.php
patch
|
blob
|
history
diff --git
a/wicked/lib/Page/AddPage.php
b/wicked/lib/Page/AddPage.php
index
f89745a
..
a034a37
100644
(file)
--- 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 '';
+ }
+
}