Bug 3819 - Settings ending in a number aren't set
: Settings ending in a number aren't set
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.5b1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-26 13:00 UTC by Michael Herger
Modified: 2006-07-26 14:08 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2006-07-26 13:00:01 UTC
I've tried to use a setting variable eg. plugin_xy_setting2. This didn't work. It wasn't stored to the prefs file nor returned useing Slim::Utils::get('plugin_xy_setting2'). I then renamed it to plugin_xy_setting2x - and everything was fine.

Please don't send me digging in Setup.pm :-)
Comment 1 KDF 2006-07-26 13:49:56 UTC
ending in a number, the server assumes it is an array pref, which won't work right if it's not.
Comment 2 Michael Herger 2006-07-26 14:08:47 UTC
Oh, yeah, should have remembered that. Sorry for the noise...