From d650ddab9042273e569ee4dc13e78d86c4488d83 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Thu, 08 Aug 2013 07:14:35 -0400 Subject: [PATCH] - Display configuration errors in website form. --- server/lib/classes/db_mysql.inc.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/server/lib/classes/db_mysql.inc.php b/server/lib/classes/db_mysql.inc.php index 2974da0..039b427 100644 --- a/server/lib/classes/db_mysql.inc.php +++ b/server/lib/classes/db_mysql.inc.php @@ -373,6 +373,15 @@ return true; } + + //** Deletes a record and saves the changes into the datalog + public function datalogError($errormsg) { + global $app; + + $this->query("UPDATE sys_datalog set error = '".$this->quote($errormsg)."' WHERE datalog_id = ".$app->modules->current_datalog_id); + + return true; + } public function freeResult($query) -- Gitblit v1.9.1