Dr.CustUmz
03-04-2022, 02:02 AM
I am creating a replace via a plugin and however I try to add an option field it is breaking.
$vbulletin->templatecache['footer'] .= '\n'.'<script>var secs=$vboptions[drcsecs],.....
the option exist and has a number in it, yet returns nothing causing my js to error out.
when I manually type a number here though everything is fine.
Why can't I use an option in this case?
further in my code
....value=\"$vbphrase[register](\"+........
I use a phrase and it works just fine...
$vbulletin->templatecache['footer'] .= '\n'.'<script>var secs=$vboptions[drcsecs],.....
the option exist and has a number in it, yet returns nothing causing my js to error out.
when I manually type a number here though everything is fine.
Why can't I use an option in this case?
further in my code
....value=\"$vbphrase[register](\"+........
I use a phrase and it works just fine...