diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index 825689589..778592ea2 100644 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -4057,7 +4057,7 @@ class e_admin_controller_ui extends e_admin_controller // - Autoincrement sortField on 'Create'. - if(($_posted['etrigger_submit'] == 'Create') && !empty($this->sortField) && empty($this->sortParent) && empty($_posted[$this->sortField]) ) + if(($_posted['etrigger_submit'] == 'create') && !empty($this->sortField) && empty($this->sortParent) && empty($_posted[$this->sortField]) ) { $incVal = e107::getDb()->max($this->table, $this->sortField) + 1; diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index addf30461..be0b679cc 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -5594,7 +5594,7 @@ class e_form foreach ($triggers as $trigger => $tdata) { $text .= ($trigger == 'submit') ? "