Skip to content

Commit

Permalink
clean up, fixed phpstan, release 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Apr 3, 2024
1 parent 78092a2 commit 7efe20a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/views/json-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,6 @@ function setOptionsValues(id,jsonFieldId,optionsArray, isKeyed) {
$inputOptions = array_merge($inputOptions, $variable['options']);
}

if(empty($inputOptions)) {
$pluginOptions['id'] = $id;
// old config
if (isset($variable['options'])) {
$pluginOptions = array_merge($pluginOptions, $variable['options']);
}
$pluginOptions['class'] = "form-control values";
}


$value = (isset($currentData[$id]) ? $currentData[$id] : null);
$type = (isset($variable['type']) ? $variable['type'] : null);
Expand Down

0 comments on commit 7efe20a

Please sign in to comment.