'Multiple Definitions'?

Robust

Well-known member
What's up here o_O

I have an option that renders all prefixes and lists them in options, but I have this problem, and it makes no logical sense to me:

Code (with debug options): http://paste.ubuntu.com/12746519/

Output of debug options: (removed one of them just to clean it up, but both output the same values)
Code:
string(33) "STARTING DUMP OF SELECTEDPREFIXES"
string(1) "1"
string(31) "ENDING DUMP OF SELECTEDPREFIXES"


string(33) "STARTING DUMP OF SELECTEDPREFIXES"
array(0) {
}
string(31) "ENDING DUMP OF SELECTEDPREFIXES"

End goal is simply to have a list of prefixes in the XenForo Options where multiple can be selected and the ones selected are shown. Instead, I'm getting a string definition and an empty array in just the one value.

A little cleaner debug option output (with only one of the two places having debug outputs, aka one of the functions have it removed for cleanliness and all annotations removed):
Code:
string(1) "1"
array(0) {
}

One value cannot be two things and I've never heard of multiple definitions being changed like this, so what's going on o_O?
 
Top Bottom