I went to edit vbh_newtabs
I went to save it and this error came up
vBulletin Message
The following error occurred when attempting to evaluate this template:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(4781) : eval()'d code on line 1
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
so I went into the template again (still stock)
and tried to save with out editing it and I still get this message
any idea what the problem would be
here is the template
Code:
<vb:if condition="in_array(THIS_SCRIPT, $selectedtabs) AND THIS_SCRIPT == $filename">
<li class="selected"><a class="navtab" href="{vb:raw url}" <vb:if condition="$target">target="_{vb:raw target}"</vb:if>>{vb:raw titulo}</a>
<ul>
{vb:raw subnavlinks}
</ul></li>
<vb:else />
<li><a class="navtab" href="{vb:raw url}" <vb:if condition="$target">target="_{vb:raw target}"</vb:if>>{vb:raw titulo}</a></li>
</vb:if>