Re: Undefined index
| From: | Monte Ohrt | Date: | Tue, 13 Nov 2001 14:46:19 +0000 |
| Subject: | Re: Undefined index | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1913@lists.php.net to get a copy of this message | ||
Change that line from:
@$scope = $this->_dequote($attrs['scope']);
to
$scope = @$this->_dequote($attrs['scope']);
Michael Caplan wrote:
>
> Hello,
>
> I am just getting the hang of Smarty, so if this is an obvious error on my
> behalf, I apologize for my newbieness.
>
> I am running Smarty 1.46 on a win 2k machine with apache 1.3.20 / php 4.0.6.
> I am not having any major problems, minus one simple warning message I am
> receiving when running a script:
>
> Notice Undefined index: scope occurred in C:\My
> Documents\web\calendar\smarty\Smarty_Compiler.class.php on 377 at Mon Nov 12
> 17:42:47 2001
>
> Of course, I can simply turn off "notices," but I would like to make sure
> that this is not a problem on my end.
>
> Thank you,
>
> Michael Caplan
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/