Skip to content

Commit

Permalink
Fixes foreach style
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Carlos Rodríguez-del-Pino committed Jun 5, 2024
1 parent 663914d commit 0492b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpl.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
}
Expand Down

0 comments on commit 0492b1b

Please sign in to comment.