Merge branch 'fronkdev' into 'master'

Added missing query log in FronkDB

See merge request fronk/thetool!907
This commit is contained in:
Frank Schubert
2025-01-14 21:49:32 +00:00

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";