The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Check if datastore entry exists?
I thought I saw the answer to this yesterday while searching the forums, but now I can't find the post. Now I can't fine the post.
What is the best way to test if a datastore entry exists before trying to use the data that is supposed to be there? Thanks, James --------------- Added [DATE]1432064018[/DATE] at [TIME]1432064018[/TIME] --------------- I think I found it. Does this look right? Code:
if ($vbulletin->datastore_item !== null) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|