diff options
author | msquare <msquare@notrademark.de> | 2016-10-01 10:48:19 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-10-01 10:48:19 +0200 |
commit | d5d2acc7d80920eef5f0ed779a3738a12d5db348 (patch) | |
tree | d2d7eb680c1ecaf72480893bba252ab2d9958804 /includes/sys_template.php | |
parent | 6dfefc3bb9f054c472156801e37300059444ecc7 (diff) |
improve code style
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r-- | includes/sys_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php index bf2e7027..2faf98c3 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -41,7 +41,7 @@ function glyph_bool($boolean) { return '<span class="text-' . ($boolean ? 'success' : 'danger') . '">' . glyph($boolean ? 'ok' : 'remove') . '</span>'; } -function div($class, $content = array(), $dom_id = "") { +function div($class, $content = [], $dom_id = "") { $dom_id = $dom_id != '' ? ' id="' . $dom_id . '"' : ''; return '<div' . $dom_id . ' class="' . $class . '">' . join("\n", $content) . '</div>'; } |