From 0b9a54c04c82e2ac2c42bd5e76ca27fa9ff8e283 Mon Sep 17 00:00:00 2001 From: cskaza Date: Thu, 24 Nov 2016 20:28:24 +0700 Subject: [PATCH] Fix for Version 1.1.3 --- cszcms/helpers/MY_html_helper.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cszcms/helpers/MY_html_helper.php b/cszcms/helpers/MY_html_helper.php index f4fe607..6aee33f 100644 --- a/cszcms/helpers/MY_html_helper.php +++ b/cszcms/helpers/MY_html_helper.php @@ -24,15 +24,15 @@ */ function meta($name = '', $content = '', $type = 'name', $newline = "\n") { - // Since we allow the data to be passes as a string, a simple array - // or a multidimensional one, we need to do a little prepping. + /* Since we allow the data to be passes as a string, a simple array */ + /* or a multidimensional one, we need to do a little prepping.*/ if ( ! is_array($name)) { $name = array(array('name' => $name, 'content' => $content, 'type' => $type, 'newline' => $newline)); } elseif (isset($name['name'])) { - // Turn single array into multidimensional + /* Turn single array into multidimensional*/ $name = array($name); } @@ -57,6 +57,4 @@ function meta($name = '', $content = '', $type = 'name', $newline = "\n") return $str; } -} - -// ------------------------------------------------------------------------ \ No newline at end of file +} \ No newline at end of file