Update BaseHtml.php

This commit is contained in:
Dilip
2014-02-09 09:03:38 +05:30
parent 85a8191f6e
commit 2026eb85ac

View File

@ -244,7 +244,7 @@ class BaseHtml
$method = 'post'; $method = 'post';
} }
if ($request->enableCsrfValidation && !strcasecmp($method, 'post')) { if ($request->enableCsrfValidation && !strcasecmp($method, 'post')) {
$hiddenInputs[] = static::hiddenInput($request->csrfVar, $request->getCsrfToken()); $hiddenInputs[] = static::hiddenInput($request->csrfParam, $request->getCsrfToken());
} }
} }