[wicked] Patch for diff.php
Douglas Phillips
doug at sbscomp.net
Tue Nov 14 20:11:14 PST 2006
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));
More information about the wicked
mailing list