Re: [Phpslash-devel] PHP Notice Errors
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-10-19 15:01:17
|
On Sun, Oct 19, 2003 at 12:52:21AM -0400, Evan Hughes wrote: <snip > > > > > Index: lib.resources.php > > > > =================================================================== > > > > RCS file: /cvsroot/back-end/back-end0.5.x/class/lib.resources.php,v > > > > retrieving revision 1.4 > > > > diff -r1.4 lib.resources.php > > > > 444c444 > > > > < $ans = $GLOBALS['_PSL']['resources'][$urn] ? true : false; > > > > --- > > > > > $ans = @$GLOBALS['_PSL']['resources'][$urn] ? true : false; > > > > > > This is one of those screwy php things. Anybody got a better way to get > > > rid of the warning? > > An isset (or a friend thereof) would probably work. > > e uh duh. Sorry I thought was one of those places where you are defining an array value and it complains about the index. Joe |