Category: IPS Tracker - IP.Board 3.0
Viewed: 16 times
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.
Source: http://community.invisionpower.com/tracker/issue-25105-possible-to-create-a-setting-with-a-space-in-the-key/
Tue, 07 September 2010