mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-04-23 03:12:14 +00:00
Removed unused variable
This commit is contained in:
parent
815f2bc69d
commit
00b1b4cff2
@ -14,7 +14,7 @@ class Form
|
|||||||
{
|
{
|
||||||
$entity = $this->session->get("form_" . $this->formname);
|
$entity = $this->session->get("form_" . $this->formname);
|
||||||
if (isset($entity)) {
|
if (isset($entity)) {
|
||||||
foreach ($fields as $name => $value) {
|
foreach (array_keys((array) $fields) as $name) {
|
||||||
if (filter_input(INPUT_POST, $name) === null) {
|
if (filter_input(INPUT_POST, $name) === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -70,7 +70,6 @@ class Form
|
|||||||
|
|
||||||
if (isset($forms[$formname])) {
|
if (isset($forms[$formname])) {
|
||||||
$this->formname = $formname;
|
$this->formname = $formname;
|
||||||
$tempEntity = $this->session->get("form_" . $this->formname);
|
|
||||||
$form = $forms[$formname];
|
$form = $forms[$formname];
|
||||||
if ($this->isSubmitting($form->fields)) {
|
if ($this->isSubmitting($form->fields)) {
|
||||||
dd("submitting");
|
dd("submitting");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user