use constant for table name

This commit is contained in:
Jean-Christian Denis 2022-12-01 10:54:01 +01:00
parent 9645614c56
commit 52f686003d
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -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);