Welcome Guest, Not a member yet? Register   Sign In
Global preferences
#21

[eluser]jimsefton[/eluser]
Solved it Smile

Slight correction:

Code:
return (isset($this->pref_array[$key])) ? $this->pref_array[$key] : FALSE;

seems to be working now... thanks!!!
#22

[eluser]CroNiX[/eluser]
Yeah, I just typed it off the top of my head in like 30 seconds. Wasn't meant to be cut/paste, but as an idea to use. Glad it's working.

As an afterthought you might want to return NULL instead of FALSE if it isn't set/found so you can actually have a FALSE value if you wanted.




Theme © iAndrew 2016 - Forum software by © MyBB