Jump to content


Issue information

  • #025105

  • Fixed

  • 3.1.2

  • 2.0.0 Beta 3

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

Possible to create a setting with a space in the key

Posted by Michael on 06 September 2010 - 04:58 PM

Not sure if this is a bug or not, but right now it's possible to create a setting where the key has a space in it.  While this is normally OK, you always need to access array elements that have a space in the key with quotes around that key name, like so:

$this->settings['my super setting']
There may be cases where a setting's key could be a variable itself, and that may not work.  It might be best if it was made sure there was no space in the setting key.

Updating status to: Confirmed - Admin CP General

Suppose that makes sense.


Hot - you can load the form to add a new setting, hit submit without filling in anything, and it saves....


Updating status to: Fixed
Updating severity to: 2 - Fair
Issue fixed in: 3.1.3






0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users