Skip to content

Commit

Permalink
Fix for Version 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cskaza committed Nov 24, 2016
1 parent 4c21b5c commit 0b9a54c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cszcms/helpers/MY_html_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -57,6 +57,4 @@ function meta($name = '', $content = '', $type = 'name', $newline = "\n")

return $str;
}
}

// ------------------------------------------------------------------------
}

0 comments on commit 0b9a54c

Please sign in to comment.