Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
From 5f9685a218bcf2d830a289f6e0813eb5bdffcab4 Mon Sep 17 00:00:00 2001
From: Robert Sesek
Date: Sun, 12 Sep 2010 15:30:13 -0400
Subject: [PATCH] Fix PHP errors in bug_edit.php:96.
---
events/bug_edit.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/events/bug_edit.php b/events/bug_edit.php
index 3157485..6986131 100644
--- a/events/bug_edit.php
+++ b/events/bug_edit.php
@@ -16,6 +16,7 @@
use phalanx\events\EventPump as EventPump;
+require_once BUGDAR_ROOT . '/includes/model_attribute.php';
require_once BUGDAR_ROOT . '/includes/model_bug.php';
require_once BUGDAR_ROOT . '/includes/model_comment.php';
require_once BUGDAR_ROOT . '/includes/search_engine.php';
@@ -93,7 +94,7 @@ class BugEditEvent extends phalanx\events\Event
}
// Get all potential attributes; this includes defined tags.
- $attributes = Attributes::FetchGroup();
+ $attributes = Attribute::FetchGroup();
foreach ($attributes as $attr) {
// If the user is allowed to write to this attribute, update the
// value.
--
1.7.11.3