Skip to content

Commit 6bb8960

Browse files
author
joelworsham
committed
Fixes #4. Fix pre PHP 5.4 error from shorthand array syntax.
1 parent 94fb8d8 commit 6bb8960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function settings_output() {
164164
$this->_settings_ID,
165165
$setting['ID'],
166166
isset( $setting['name'] ) ? $setting['name'] : null,
167-
isset( $setting['atts'] ) ? $setting['atts'] : [ ],
167+
isset( $setting['atts'] ) ? $setting['atts'] : array(),
168168
);
169169

170170
// Select box has extra param

0 commit comments

Comments
 (0)