]> git.openstreetmap.org Git - rails.git/commitdiff
Fix for the refactoring commited yesterday, based on review by Dave Stubbs
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 5 Dec 2008 11:08:58 +0000 (11:08 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 5 Dec 2008 11:08:58 +0000 (11:08 +0000)
app/controllers/amf_controller.rb

index e9bcb281b027f1719a74ea768e4e8f0c64b2b252..738aa443afc15510e597d128bfe46b6c27618c8a 100644 (file)
@@ -468,7 +468,7 @@ class AmfController < ApplicationController
 
     # -- Initialise and carry out checks
        
-    user = getuserid(usertoken)
+    user = getuser(usertoken)
     if !user then return -1,"You are not logged in, so the way could not be saved." end
 
     originalway = originalway.to_i