--- /dev/null
+--- ./include/class.issue.php 2005-12-30 19:48:40.000000000 +0200
++++ ./include/class.issue.phps 2006-01-03 23:53:27.000000000 +0200
+@@ -421,7 +421,7 @@
+ Reminder_Action::clearLastTriggered($issue_id);
+
+ // if old status was closed and new status is not, clear closed data from issue.
+- if ($old_details['sta_is_closed'] == 1) {
++ if (@$old_details['sta_is_closed'] == 1) {
+ $new_details = Status::getDetails($status_id);
+ if ($new_details['sta_is_closed'] != 1) {
+ Issue::clearClosed($issue_id);
+@@ -1349,7 +1349,6 @@
+ $assignment_notifications[] = $assignee;
+ $assignments_changed = true;
+ }
+- $assignments_changed = true;
+ }
+ if (count($assignment_notifications) > 0) {
+ Notification::notifyNewAssignment($assignment_notifications, $issue_id);
+@@ -2047,14 +2046,6 @@
+ }
+ }
+ }
+- if (count($users) > 0) {
+- // automatically change the status to 'Assigned'
+- Issue::setStatus($new_issue_id, Status::getStatusID('Assigned'), FALSE);
+-
+- // set this special variable to false, to avoid triggering
+- // another status update on the workflow class
+- $has_assignee = false;
+- }
+
+ // now process any files being uploaded
+ $found = 0;
# release candidate
#define _rc 2
-%define _rel 3
+%define _rel 3.1
%if 0%{?_rc:1}
%define _source http://eventum.mysql.org/eventum-1.7.0.tar.gz
Patch14: http://glen.alkohol.ee/pld/%{name}-irc-mem.patch
Patch15: eventum-reports-fix.patch
Patch16: http://glen.alkohol.ee/pld/eventum-recent_activity-usability.patch
+Patch17: eventum-new-issue.patch
URL: http://dev.mysql.com/downloads/other/eventum/
%{?with_pear:BuildRequires: rpm-php-pearprov >= 4.0.2-98}
BuildRequires: rpmbuild(macros) >= 1.223
%patch13 -p1
%patch15 -p1
%patch16 -p1
+%patch17 -p1
sed -e '1s,#!.*/bin/php -q,#!%{_bindir}/php,' misc/cli/eventum > %{name}-cli
sed -e '1i#!%{_bindir}/php' misc/scm/process_cvs_commits.php > %{name}-scm