]> source.dussan.org Git - redmine.git/commitdiff
Fixes test failure in r4461.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Dec 2010 10:40:44 +0000 (10:40 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Dec 2010 10:40:44 +0000 (10:40 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4462 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/timelog_controller.rb

index 4bec02f359363b0a20fea1ecfd059cc63ebecbef..78d31490db5ef93871f428fd5d14b46a00b2b0cf 100644 (file)
@@ -179,7 +179,7 @@ class TimelogController < ApplicationController
     else
       respond_to do |format|
         format.html {
-          flash[:notice] = l(:notice_unable_delete_time_entry)
+          flash[:error] = l(:notice_unable_delete_time_entry)
           redirect_to :back
         }
         format.api  { render_validation_errors(@time_entry) }