![]() |
Linking two If conditions in Plugin
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 } } |
Quote:
if ($vbulletin->options['bsactive'] && $vbulletin->options['bs_inarray_active']){ |
And will work Too since its Part of the php syntax but Yes this will work As intended :)
|
Thank you both for that :)
|
All times are GMT. The time now is 02:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|