use constant for table name

master
Jean-Christian Paul Denis 2022-12-01 10:54:01 +01:00
parent 9645614c56
commit 52f686003d
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class improve
if (empty($this->logs)) { if (empty($this->logs)) {
return 0; 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_msg = serialize($this->logs);
$cur->log_table = 'improve'; $cur->log_table = 'improve';
$id = dcCore::app()->log->addLog($cur); $id = dcCore::app()->log->addLog($cur);