Quote:
Originally Posted by Simon Lloyd
Hi all is it possible to have two if conditions in a plugin one dependant on the other like this:
if ($vbulletin->options['bsactive'] and $vbulletin->options['bs_inarray_active']){
or do i have to have:
if ($vbulletin->options['bsactive']){
if ($vbulletin->options['bs_inarray_active']){
'MY CODE
}
}
|
Replace the and with &&
if ($vbulletin->options['bsactive'] && $vbulletin->options['bs_inarray_active']){