Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

callbacks written as $this->method

  • Loading branch information...
commit 1fadacf45974aa8f8fd12cc0ace8b9c740f432b1 1 parent 8a10fae
@dg dg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/presenters/SignPresenter.php
View
2  app/presenters/SignPresenter.php
@@ -28,7 +28,7 @@ protected function createComponentSignInForm()
$form->addSubmit('send', 'Sign in');
- $form->onSuccess[] = callback($this, 'signInFormSubmitted');
+ $form->onSuccess[] = $this->signInFormSubmitted;
return $form;
}
Please sign in to comment.
Something went wrong with that request. Please try again.