Just a quick question to any vb dev.
There are two new variables called in the plugin. I didn't really see the point of initializing them with a $var=""; statement considering the vars are not used in any database calls, plus they are essentially initialized with a value when they are used. If those fields are attempted to be passed into the page, since they aren't globalized, they should be nullified anyway.
However, I know you are doing funky things with plugins, serializing them etc, so I wanted to know what are your best practices for new vars in a plugin?
|