Browse files

Bah, fixed better.

  • Loading branch information...
1 parent 4dc3ae8 commit ebfde6371d212563def29bb1f223fa3ab9e8cdd9 @pnomolos pnomolos committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/bootstrap/dispatcher.php
View
2 config/bootstrap/dispatcher.php
@@ -51,7 +51,7 @@
// Render the toolbar (unless it's an asset from the li3_perf library)
// Why? See li3_perf\extensions\util\Asset
$content_type = isset($result->headers['Content-Type']) ? $result->headers['Content-Type'] : '';
- $content_type = array_shift(explode(';', $result->headers['Content-Type'], 2));
+ $content_type = array_shift(explode(';', $content_type, 2));
if(
!isset($params['request']->params['asset_type']) &&
(!$content_type || $content_type == 'text/html')

0 comments on commit ebfde63

Please sign in to comment.