From d5d2acc7d80920eef5f0ed779a3738a12d5db348 Mon Sep 17 00:00:00 2001 From: msquare Date: Sat, 1 Oct 2016 10:48:19 +0200 Subject: improve code style --- includes/sys_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/sys_template.php') 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 '' . glyph($boolean ? 'ok' : 'remove') . ''; } -function div($class, $content = array(), $dom_id = "") { +function div($class, $content = [], $dom_id = "") { $dom_id = $dom_id != '' ? ' id="' . $dom_id . '"' : ''; return '' . join("\n", $content) . ''; } -- cgit v1.2.3-54-g00ecf