]> source.dussan.org Git - redmine.git/commitdiff
Fixes r2707.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 4 May 2009 16:55:47 +0000 (16:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 4 May 2009 16:55:47 +0000 (16:55 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2708 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/migrate_from_mantis.rake

index 348cba909e13625fe5532c77a2d887a5795f7404..aec8010048715084464c211ad4ca6a9e4ce61a87 100644 (file)
@@ -196,7 +196,12 @@ task :migrate_from_mantis => :environment do
       end\r
       \r
       def read(*args)\r
-        content\r
+       if @read_finished\r
+               nil\r
+       else\r
+               @read_finished = true\r
+               content\r
+       end\r
       end\r
     end\r
     \r