Skip to content

Commit

Permalink
Use Null Comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jul 17, 2017
1 parent c85383e commit 9fb3489
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions class/utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ public static function createFolder($folder)
}
file_put_contents($folder . '/index.html', '<script>history.go(-1);</script>');
}
}
catch (Exception $e) {
} catch (Exception $e) {
echo 'Caught exception: ', $e->getMessage(), '', '<br>';
}
}
Expand Down

0 comments on commit 9fb3489

Please sign in to comment.