Russia
|
I have understanded the problem!
It is a bug in the X2.5 table driver: table_common_template_block.php
It uses this command:- return $tpl ? DB::delete($this->_table, DB::field('targettplname', $tpl)) : false;
Copy the Code But "$this->_table" does NOT contain the real table prefix!
I think, this must be modified to:- return $tpl ? DB::delete(DB::table($this->_table), DB::field('targettplname', $tpl)) : false;
Copy the Code The same bug presents in many other places!
If you see any direct using of "$this->_table",
it must be replaced with "DB::table($this->_table)"
|
|