missing spot where old api was used
This commit is contained in:
parent
c4bf138d2c
commit
2b15919aee
|
@ -561,7 +561,7 @@ class PostsController < ApplicationController
|
|||
params[:auto_track] = !(params[:auto_track].to_s == "false") if params[:auto_track]
|
||||
params[:visible] = (params[:unlist_topic].to_s == "false") if params[:unlist_topic]
|
||||
|
||||
if api_key_valid?
|
||||
if is_api?
|
||||
# php seems to be sending this incorrectly, don't fight with it
|
||||
params[:skip_validations] = params[:skip_validations].to_s == "true"
|
||||
permitted << :skip_validations
|
||||
|
|
Loading…
Reference in New Issue