From 9fb3489d022937908bbc963a8f31fe0ab8f76a37 Mon Sep 17 00:00:00 2001 From: mambax7 Date: Mon, 17 Jul 2017 03:44:58 -0400 Subject: [PATCH] Use Null Comparison --- class/utility.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/class/utility.php b/class/utility.php index bd048f2..45f2359 100644 --- a/class/utility.php +++ b/class/utility.php @@ -186,8 +186,7 @@ public static function createFolder($folder) } file_put_contents($folder . '/index.html', ''); } - } - catch (Exception $e) { + } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), '', '
'; } }