mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Creating default object from empty value
This commit is contained in:
parent
3d48844ca8
commit
21444cb0b1
1 changed files with 2 additions and 1 deletions
|
|
@ -144,7 +144,8 @@ class editorAdminController extends editor
|
||||||
{
|
{
|
||||||
$oModuleController = getController('module');
|
$oModuleController = getController('module');
|
||||||
$configVars = Context::getRequestVars();
|
$configVars = Context::getRequestVars();
|
||||||
|
|
||||||
|
$config = new stdClass;
|
||||||
if($configVars->font_defined != 'Y') $config->font_defined = $configVars->font_defined = 'N';
|
if($configVars->font_defined != 'Y') $config->font_defined = $configVars->font_defined = 'N';
|
||||||
else $config->font_defined = 'Y';
|
else $config->font_defined = 'Y';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue