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 = ''; }