Patch for diff.php
"Douglas Phillips" <[email protected]> Tue, 14 Nov 2006 22:11:14 -0600
| Newsgroups | gmane.comp.horde.wicked |
|---|---|
| Message-ID | <[email protected]> |
Here's a patch for diff.php to correct what appears to be a typo. A
reference was being used for a function call and causing PHP to spit out a
warning.
--
Douglas G. Phillips
Simple Business Solutions
Index: diff.php
===================================================================
RCS file: /repository/wicked/diff.php,v
retrieving revision 1.10
diff -u -r1.10 diff.php
--- diff.php 1 Jan 2006 21:12:17 -0000 1.10
+++ diff.php 15 Nov 2006 04:07:08 -0000
@@ -32,7 +32,7 @@
$v2 = $tmp;
}
-$page = &Page::getPage(Util::getFormData('page'), $v2);
+$page = Page::getPage(Util::getFormData('page'), $v2);
if (is_a($page, 'PEAR_Error')) {
$notification->push(sprintf(_("Internal error viewing requested page:
%s"), $page->getMessage()), 'horde.error');
header('Location: ' . Wicked::url('WikiHome', true));
--
wicked mailing list - Join the hunt: http://horde.org/bounties/#wicked
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]