Skip to content
Permalink
Browse files

Remove redundant condition

  • Loading branch information...
ADmad committed May 6, 2015
1 parent 6874d0a commit d73f8a41260a4883e1ca38fb2cf2af78f7aa2bde
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Helper/FormHelper.php
@@ -545,7 +545,7 @@ public function end(array $secureAttributes = [])
*/
public function secure(array $fields = [], array $secureAttributes = [])
{
if (!isset($this->request['_Token']) || empty($this->request['_Token'])) {
if (empty($this->request['_Token'])) {
return;
}
$locked = [];

0 comments on commit d73f8a4

Please sign in to comment.
You can’t perform that action at this time.