phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #00707
[Bug 932577] Re: getSettings should not return undefined settings, it should set it to NULL
** Changed in: phpdevshell
Status: New => Confirmed
** Changed in: phpdevshell
Importance: Undecided => Low
** Changed in: phpdevshell
Assignee: (unassigned) => TitanKing (titan-phpdevshell)
** Changed in: phpdevshell
Milestone: None => 3.1.4-stable
--
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/932577
Title:
getSettings should not return undefined settings, it should set it to
NULL
Status in Open Source PHP RAD Framework with UI.:
Confirmed
Bug description:
When i try to make a configuration to set some settings, but the
settings do not exist at this time. I must set the settings Like this
to handle it:
$setting = $this->db->getSettings(array('cfg1', 'cfg2'), 'cfgTest');
$setting2 = array('cfg1'=>NULL, 'cfg2'=>NULL);
$setting = array_merge($setting2, $setting);
Otherwise, it destroys the layout of the page, when i do not handle it like this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/phpdevshell/+bug/932577/+subscriptions
References