Skip to content

Commit

Permalink
$options param in Helper::assetUrl() now defaults to empty array.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Feb 10, 2012
1 parent be694d8 commit 7a42290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/Helper.php
Expand Up @@ -271,7 +271,7 @@ public function webroot($file) {
* `plugin` False value will prevent parsing path as a plugin
* @return string Generated url
*/
public function assetUrl($path, array $options) {
public function assetUrl($path, $options = array()) {
if (is_array($path)) {
$path = $this->url($path, !empty($options['fullBase']));
} elseif (strpos($path, '://') === false) {
Expand Down

0 comments on commit 7a42290

Please sign in to comment.