Skip to content

Commit 1f0d1ce

Browse files
timmipetitFehér Zoltán
authored andcommitted
Fix php7 tests for viewConfigHandler
1 parent f432202 commit 1f0d1ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config/sfViewConfigHandler.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ private function addAssets($type, $assets){
263263
$position = '';
264264
if (is_array($asset))
265265
{
266+
reset($asset);
266267
$key = key($asset);
267268
$options = $asset[$key];
268269
if (isset($options['position']))

0 commit comments

Comments
 (0)