The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
So the idea is to check if it's empty (displays nothing), check if user "Bill" is sending a gift to him self (display $fail[1]), and if it gets past all of those checks, it should move on to the switch.
What seems to be happening is that $userid is always equal to $useridsender. Any ideas? D: PHP Code:
|
|
#2
|
|||
|
|||
|
You are using '=' in your test. Should be
PHP Code:
|
|
#3
|
|||
|
|||
|
That fixed the problem! Thanks a lot!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|