Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.

Commit 8762d13

Browse files
authored
Fix Notice: compact(): Undefined variable: extras
1 parent fbd7dca commit 8762d13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/Zend/View/Helper/HeadLink.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ public function createDataStylesheet(array $args)
396396
}
397397
}
398398

399+
$extras = [];
399400
if(0 < count($args) && is_array($args[0])) {
400401
$extras = array_shift($args);
401402
$extras = (array) $extras;

0 commit comments

Comments
 (0)