plgntls :

- added it to cipf plugin
- fixed an error in using _prefix not as static value
This commit is contained in:
asus
2024-04-02 15:44:33 +02:00
parent bc06828093
commit 64dc0ffbc5
2 changed files with 736 additions and 233 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -505,7 +505,7 @@ class Plgntls_xtx {
if (is_null($vars_arr))
return ;
$object_name = $this->_prefix . "_data";
$object_name = self::$_prefix . "_data";
$vars_json = json_encode($vars_arr);
// note : we need to use 'var' instead of 'let' or 'const',
// because their scope is restricted to the if statement