Index: trunk/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -1262,7 +1262,7 @@ |
1263 | 1263 | } |
1264 | 1264 | |
1265 | 1265 | // Set output buffer and HTTP headers for stream |
1266 | | - $extraHeaders = $params['headers'] ? $params['headers'] : array(); |
| 1266 | + $extraHeaders = isset( $params['headers'] ) ? $params['headers'] : array(); |
1267 | 1267 | $res = StreamFile::prepareForStream( $params['src'], $info, $extraHeaders ); |
1268 | 1268 | if ( $res == StreamFile::NOT_MODIFIED ) { |
1269 | 1269 | // do nothing; client cache is up to date |