Deconflicting a name of an input for two forms on the same page

This commit is contained in:
Alexey Verkhovsky 2005-02-10 21:41:31 +00:00
parent 4e6d2cbdf6
commit 8ab380d6dd
3 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ class WikiController < ApplicationController
end
def remove_orphaned_pages
if wiki.authenticate(@params['system_password'])
if wiki.authenticate(@params['system_password_orphaned'])
wiki.remove_orphaned_pages(@web_name)
flash[:info] = 'Orphaned pages removed'
redirect_to :action => 'list'