You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why in the ThreadController the value is : 'value' => !$form->getData()->isCommentable() instead of 'value' => $form->getData()->isCommentable()
/** * Forwards the action to the open thread edit view on a successful form submission. * * @param FormInterface $form * * @return View */protectedfunctiononOpenThreadSuccess(FormInterface$form)
{
return View::createRouteRedirect('fos_comment_edit_thread_commentable', array('id' => $form->getData()->getId(), 'value' => !$form->getData()->isCommentable()));
}
Because i overload the controller 'ThreadController', and i want to be able to store in my thread entity the author who has closed the thread.
And because of it previous method I have in small problem 😠
Thanks 😃
The text was updated successfully, but these errors were encountered:
hi,
Why in the ThreadController the value is : 'value' => !$form->getData()->isCommentable() instead of 'value' => $form->getData()->isCommentable()
Because i overload the controller 'ThreadController', and i want to be able to store in my thread entity the author who has closed the thread.
And because of it previous method I have in small problem 😠
Thanks 😃
The text was updated successfully, but these errors were encountered: