From 2308838ede97cda6533f82fc177aaf7294fb4923 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Mon, 8 Jul 2024 16:21:45 +0900 Subject: [PATCH] Yoda --- db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.php b/db.php index 1928eab..3bec10a 100644 --- a/db.php +++ b/db.php @@ -997,7 +997,7 @@ public function query( $query ) { } } - if ( $this->last_error === '' ) { + if ( '' === $this->last_error ) { $this->last_error = $this->ex_mysql_error( $this->dbh ); }