1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check whether custom user field (really) exists? (no cache)

Discussion in 'XenForo Development Discussions' started by rugk, Mar 9, 2016.

  1. rugk

    rugk Active Member

    (moved from a bug report)

    If I have an add-on which uses a custom user field, how can I check whether the field exists?
    array_key_exist does not really help, because it only checks the cache in this case.

    Without this check the field is still considered valid even when the field was in fact deleted by the admin.

Share This Page