Skip to content

Commit 6c65d3a

Browse files
committed
condition edit
1 parent 19d4767 commit 6c65d3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Northys/CSSInliner/CSSInliner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CSSInliner
3838
*/
3939
public function addCSS($filename)
4040
{
41-
if (($css = @file_get_contents($filename)) !== FALSE) {
41+
if (($css = @file_get_contents($filename)) === FALSE) {
4242
throw new Exceptions\InvalidCssFilePathException('Invalid css file path provided.');
4343
}
4444
// merge all CSS content into $this-css variable

0 commit comments

Comments
 (0)