Hi guys The below code was giving me an error. I'm assuming my host recently upgraded from php4 to 5 and the code was not compatible. Can someone help me make this code jive with five? Hope so, thanks alot.
PHP Code:
if (VB_AREA == "Forum")
{
global $globaltemplates;
$globaltemplates = array_merge($globaltemplates, array('forumhome_vbshout'));
}
I'm not even sure what if anything makes this code incompatible with 5 but after googling the error for awhile thats my best hunch. I isolated the above code and the error went away but I know it's not "fixed" Anyway thanks again.
Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1212) : eval()'d code on line 5
|