From 52f686003daa63dce81d01bda79dd88032cb44ed Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 1 Dec 2022 10:54:01 +0100 Subject: [PATCH] use constant for table name --- inc/core/improve.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/core/improve.php b/inc/core/improve.php index 77c9bdb..3b9b07a 100644 --- a/inc/core/improve.php +++ b/inc/core/improve.php @@ -88,7 +88,7 @@ class improve if (empty($this->logs)) { return 0; } - $cur = dcCore::app()->con->openCursor(dcCore::app()->prefix . 'log'); + $cur = dcCore::app()->con->openCursor(dcCore::app()->prefix . dcLog::LOG_TABLE_NAME); $cur->log_msg = serialize($this->logs); $cur->log_table = 'improve'; $id = dcCore::app()->log->addLog($cur);