Re: [PHP] Resolving a PHP Notice Error

2013-09-17 Thread Sebastian Krebs
2013/9/17 Ron Piggott > > I am wanting to establish a default sort by preference when the user > hasn’t specified one. I setup to test this with: > > > if ( !is_set( $sort_by_preference ) ) { > > $sort_by_preference = "government_wording"; > > } > > ?> > > But I am receiving a Notice error:

Re: [PHP] Resolving a PHP Notice Error

2013-09-17 Thread Daniel Brown
On Tue, Sep 17, 2013 at 3:38 PM, Ron Piggott wrote: > > I am wanting to establish a default sort by preference when the user hasn’t > specified one. I setup to test this with: > > > if ( !is_set( $sort_by_preference ) ) { Did you create a function is_set(), or did you mean to use the const