summaryrefslogtreecommitdiffstats
path: root/lib/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql.php')
-rw-r--r--lib/mysql.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index 9b82a93..17eb1b2 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -335,7 +335,7 @@ namespace {
// @codeCoverageIgnoreEnd
}
- if ($class == null) {
+ if ($class === null) {
$object = mysqli_fetch_object($result);
} else {
$object = mysqli_fetch_object($result, $class, $params);
@@ -446,7 +446,7 @@ namespace {
function mysql_escape_string($unescapedString)
{
- if (\Dshafik\MySQL::$last_connection == null) {
+ if (\Dshafik\MySQL::$last_connection === null) {
trigger_error(
sprintf(
"%s() is insecure; use mysql_real_escape_string() instead!",