If it was an array then it would've given off an "array must be indexed"warning instead of "tag mismatch". Also, "enabled" is a name that strikes me as yes or no, so I'm guessing he declared it as boolean, but he checked it for an integer value.
__________________
No longer around. Thanks your support, everyone! As always: