Skip to content

Commit

Permalink
[api] just to be sure, should not make a difference
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 21, 2012
1 parent 1734678 commit 98b4570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/app/controllers/request_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,8 @@ def command_changestate
tprj = DbProject.get_by_name(action.target.project + ":" + params[:incident])
action.target.set_attribute("project", tprj.name)
end
else # the accept case, create a new incident if needed
elsif params[:cmd] == "changestate" and params[:newstate] == "accepted"
# the accept case, create a new incident if needed
if tprj.project_type == "maintenance"
# create incident if it is a maintenance project
unless incident_project
Expand Down

0 comments on commit 98b4570

Please sign in to comment.