Skip to content

Commit

Permalink
Closes hicknhack-software#7: Assigns booking to correct issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ande3577 committed Sep 3, 2012
1 parent f3ce487 commit aa99074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def time_tracker_link(object, user)
if !time_tracker.nil?
# A time tracker exists, display the stop action
link_to l(:stop_time_tracker).capitalize + ' #' + time_tracker.issue_id.to_s,
{:controller => '/time_trackers', :action => 'stop', :time_tracker => {:issue_id => object.id}},
{:controller => '/time_trackers', :action => 'stop', :time_tracker => {}},
:class => 'icon icon-stop'
elsif !object.nil? and !object.project.nil? and user.allowed_to?(:log_time, object.project)
# No time tracker is running, but the user has the rights to track time on this issue
Expand Down

0 comments on commit aa99074

Please sign in to comment.