mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Fix #1324 extra_vars not saved when editing widget page
This commit is contained in:
parent
83ce4a8099
commit
c164f506bb
1 changed files with 2 additions and 3 deletions
|
|
@ -967,9 +967,8 @@ class moduleController extends module
|
||||||
{
|
{
|
||||||
$this->deleteModuleExtraVars($module_srl);
|
$this->deleteModuleExtraVars($module_srl);
|
||||||
getDestroyXeVars($obj);
|
getDestroyXeVars($obj);
|
||||||
if(!$obj || !is_countable($obj) || !count($obj)) return;
|
|
||||||
|
|
||||||
foreach($obj as $key => $val)
|
foreach(get_object_vars($obj) as $key => $val)
|
||||||
{
|
{
|
||||||
if(is_object($val) || is_array($val)) continue;
|
if(is_object($val) || is_array($val)) continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue