From 0492b1b756fd651937a391321c0caf68d8257d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Rodr=C3=ADguez-del-Pino?= Date: Wed, 5 Jun 2024 15:46:03 +0100 Subject: [PATCH] Fixes foreach style --- vpl.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpl.class.php b/vpl.class.php index 85905cf3..fc9579e1 100644 --- a/vpl.class.php +++ b/vpl.class.php @@ -245,7 +245,7 @@ public static function set_null_field_empty($vplinstace) { 'runscript', 'debugscript', ]; - foreach($fields as $field) { + foreach ($fields as $field) { if (property_exists($vplinstace, $field) && $vplinstace->$field == null) { $vplinstace->$field = ''; }