Skip to content

Commit 7fb87ea

Browse files
authored
Fix PHP7 compatibility in sfViewConfigHandler
Fix as per FriendsOfSymfony1/symfony1@1f0d1ce
1 parent c4ce802 commit 7fb87ea

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)