|
|
Choosing A Webhost: |
Re: PHP Notice Errors: msg#00022cms.phpslash.devel
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 ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PHP Notice Errors, Joe Stewart |
|---|---|
| Next by Date: | Re: PHP Notice Errors, Joe Stewart |
| Previous by Thread: | Re: PHP Notice Errors, Evan Hughes |
| Next by Thread: | Re: PHP Notice Errors, Joe Stewart |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |