Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/presentation-array.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function field() {
function prepare($field, $level = -1) {
$out = $this->cleanup($field);
$out = $this->level($out, $level);
$out = $this->default($out, $field);
$out = $this->defaults($out, $field);
$out = $this->fieldsets($out, $field);
$out = $this->styleTable($out);
$out = $this->loop($out);
Expand Down Expand Up @@ -49,7 +49,7 @@ function level($out, $level) {
return $out;
}

function default($out, $field) {
function defaults($out, $field) {
if(isset($field['fields'])) {
$out['fieldsets']['default']['fields'] = $field['fields'];
} else {
Expand Down Expand Up @@ -82,4 +82,4 @@ function loop($out) {
}
return $out;
}
}
}