From b54cdf7250a30c9b3fb4fb953aeac447ae534168 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 23 Aug 2019 18:40:33 +0300 Subject: [PATCH] feat(core): udpate protected methods in Forms class #218 #186 Methods: - csrfHiddenField() to _csrfHiddenField() - actionHiddenField() to _actionHiddenField() --- flextype/core/Forms.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flextype/core/Forms.php b/flextype/core/Forms.php index 3302f590..3dbf98bb 100644 --- a/flextype/core/Forms.php +++ b/flextype/core/Forms.php @@ -51,8 +51,8 @@ class Forms { $form = ''; $form .= Form::open(null, ['id' => 'form']); - $form .= $this->csrfHiddenField(); - $form .= $this->actionHiddenField(); + $form .= $this->_csrfHiddenField(); + $form .= $this->_actionHiddenField(); if (count($fieldset['sections']) > 0) { $form .= '