- fixed variable type for UM()->form()->processing and UM()->fields()->set_id;

This commit is contained in:
Mykyta Synelnikov
2023-08-23 15:00:21 +03:00
parent 8cb6c79c26
commit 26de093b38
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -710,7 +710,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
public function beautify( $form ) {
if ( isset( $form['form_id'] ) ) {
$this->form_suffix = '-' . $form['form_id'];
$this->processing = $form['form_id'];
$this->processing = absint( $form['form_id'] );
foreach ( $form as $key => $value ) {
if ( strstr( $key, $this->form_suffix ) ) {