Removing default value for required parameter in HtmlHelper::meta(), fixes #4321

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2008-03-12 04:10:39 +00:00
parent 6fe1e62555
commit 698d3e4f40

View file

@ -194,7 +194,7 @@ class HtmlHelper extends AppHelper {
* @param boolean $inline If set to false, the generated tag appears in the head tag of the layout.
* @return string
*/
function meta($type = null, $url = null, $attributes = array(), $inline = true) {
function meta($type, $url = null, $attributes = array(), $inline = true) {
if (!is_array($type)) {
$types = array(
'rss' => array('type' => 'application/rss+xml', 'rel' => 'alternate', 'title' => $type, 'link' => $url),