This commit is contained in:
Jean-Christian Paul Denis 2022-11-30 22:41:32 +01:00
parent 5b163c70a9
commit 324f6c470d
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
<?php
/**
* @brief zoneclearFeedServer, a plugin for Dotclear 2
* @brief activityReport, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis, BG, Pierre Van Glabeke
* @author Jean-Christian Denis and contributors
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
@ -17,5 +17,5 @@ if (!defined('DC_RC_PATH')) {
class initActivityReport
{
public const ACTIVITY_TABLE_NAME = 'activity';
public const SETTING_TABLE_NAME = 'activity_setting';
public const SETTING_TABLE_NAME = 'activity_setting';
}

View File

@ -28,9 +28,9 @@ class activityReport
public function __construct($ns = 'activityReport')
{
$this->con = dcCore::app()->con;
$this->blog = dcCore::app()->con->escape(dcCore::app()->blog->id);
$this->ns = dcCore::app()->con->escape($ns);
$this->con = dcCore::app()->con;
$this->blog = dcCore::app()->con->escape(dcCore::app()->blog->id);
$this->ns = dcCore::app()->con->escape($ns);
$this->getSettings();