Added missing query log in FronkDB

This commit is contained in:
Frank Schubert
2025-01-14 22:48:49 +01:00
parent 5393160273
commit 3fb54becb4

View File

@@ -95,6 +95,7 @@ class FronkDB {
// check for errors
if(!$this->result) {
$return = false;
$log_query = true;
$this->lastError = mysqli_error($this->link);
if($print_error) {
echo "Error in SQL-query:<br />\n" . $sql . "<br />\n" . $this->lastError . "<br />\n";