JamesAB
05-19-2015, 04:25 PM
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 1432064018 at 1432064018 ---------------
I think I found it.
Does this look right?
if ($vbulletin->datastore_item !== null)
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 1432064018 at 1432064018 ---------------
I think I found it.
Does this look right?
if ($vbulletin->datastore_item !== null)