mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update HtmlHelper.php
No need to add `null` to `$options` param as mentioned in the docs section: [Using blocks for script and CSS files](http://book.cakephp.org/2.0/en/views.html#using-blocks-for-script-and-css-files)
This commit is contained in:
parent
a6caf28ea6
commit
23954e6ad3
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ class HtmlHelper extends AppHelper {
|
||||||
*
|
*
|
||||||
* Add the script file to a custom block:
|
* Add the script file to a custom block:
|
||||||
*
|
*
|
||||||
* `$this->Html->script('styles.js', null, array('block' => 'bodyScript'));`
|
* `$this->Html->script('styles.js', array('block' => 'bodyScript'));`
|
||||||
*
|
*
|
||||||
* ### Options
|
* ### Options
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue