mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
6fe1e62555
commit
698d3e4f40
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue