Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Murray Roke 503 posts 966 karma points c-trib
    Mar 23, 2011 @ 05:30
    Murray Roke
    0

    formStorage.GetForm("non-existant-guid") != null; //why?

    The subject says it all.

    this means I'm doing this:

    if (form == null || form.Name == null) continue;

    which seems very hacky.

    I'd rather do:

    if (form == null ) continue;

  • Comment author was deleted

    Mar 23, 2011 @ 09:26

    Agreed, should return null if form doesn't exist, will add this to our issue tracker

    Thanks for reporting!

Please Sign in or register to post replies

Write your reply to:

Draft