Re: [phplib] Undefined index: in Template From: Richard Archer (rha <email protected>)
Date: 08/02/01

At 2:03 PM +0100 2/8/01, Peter Bowyer wrote:

>I keep getting the following error:
>Warning: Undefined index: recipient in ./include/template.inc on line 210

Hi Peter,

This is a warning message only. It is (relatively) safe to ignore it.
There's nothing wrong with your code.

The warning is caused by lack of error checking in get_var. In particular,
no attempt is made to verify that a variable is set before accessing it.

This bug and many others are fixed in my version of template.inc which you
can grab from:
http://mel01.juggernaut.com.au/templates/phplib/template.txt

 ...R.

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>