commit | 99501051184bf4fe73e36c10d282f27811e6a414 | [log] [tgz] |
---|---|---|
author | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 20:09:08 2019 +0200 |
committer | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 20:09:08 2019 +0200 |
tree | cef5c556b434829c6a1a9c0cc3093982589410e1 | |
parent | dd6cfb4e03d3eb13e8124e10837e9a9b03bb61e1 [diff] |
Fixed vulnerabilities
diff --git a/php/utils.php b/php/utils.php index a187aea..6ac2e7e 100644 --- a/php/utils.php +++ b/php/utils.php
@@ -20,7 +20,7 @@ $conn->set_charset("utf8"); // Execute query and save result - if (!$result = $conn->query($query)) echo $conn->error; + $result = $conn->query($query); // Close the connection $conn->close();