Skip to the content
Documentation

Warnings

No ratings yet

It's a little too bad there's no way to avoid a warning when the variable we're fetching is not set ...

Comments (3 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Warnings

    James Robertson ·

    You only recieve a warning? I get see an error. Most annoying!

    1. Re: Re: Warnings

      Patrick Kaiser ·

      using 3.7.4 and getting an error as well. even testing for the existence fo a get/post var throws an error:
      {if ezhttp( 'myvar', 'get' ) } => returns false, but throws error
      the same with {if is_set( ezhttp( 'myvar', 'get' ) )}
      its a bug in my opinion..

  2. Re: Warnings

    VaL ·

    you can use in 3.9 (trunk) like:
    ezhttp_hasvariable( 'getVar','get' )
    or
    ezhttp( 'getVar','get','hasVariable' )