Skip to content

Commit

Permalink
Fix undefined offset error
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 21, 2014
1 parent 8f42df8 commit 13f9525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Css_Parser/lib/Sabberworm/CSS/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private function parseValue($aListDelimiters) {
array_splice($aStack, $iStartPosition - 1, $iLength * 2 - 1, array($oList));
}
}
return $aStack[0];
return reset($aStack);
}

private static function listDelimiterForRule($sRule) {
Expand Down

0 comments on commit 13f9525

Please sign in to comment.