diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php
index <HASH>..<HASH> 100644
--- a/framework/helpers/BaseHtml.php
+++ b/framework/helpers/BaseHtml.php
@@ -244,7 +244,7 @@ class BaseHtml
 				$method = 'post';
 			}
 			if ($request->enableCsrfValidation && !strcasecmp($method, 'post')) {
-				$hiddenInputs[] = static::hiddenInput($request->csrfVar, $request->getCsrfToken());
+				$hiddenInputs[] = static::hiddenInput($request->csrfParam, $request->getCsrfToken());
 			}
 		}
Update BaseHtml.php