tbrehm
2013-08-23 200f0f4652d29b22f94ee2da39fc98542b2e1ea4
server/lib/classes/db_mysql.inc.php
@@ -378,7 +378,7 @@
    public function datalogError($errormsg) {
      global $app;
     
     $this->query("UPDATE sys_datalog set error = '".$this->quote($errormsg)."' WHERE datalog_id = ".$app->modules->current_datalog_id);
     if(isset($app->modules->current_datalog_id) && $app->modules->current_datalog_id > 0) $this->query("UPDATE sys_datalog set error = '".$this->quote($errormsg)."' WHERE datalog_id = ".$app->modules->current_datalog_id);
      return true;
    }