From: Don S. <do...@se...> - 2003-03-21 14:42:30
|
You would still need to do those isset checks for REQUEST vars though, correct? Don. On Fri, 21 Mar 2003, Matthew McNaney wrote: > > I see some stuff in the page master module that has useless stuff > > like.... > > > > if(false){ > > ...code... > > } > > I just saw this today while working on some bugs. This was my doing. The > reason that you may see !isset($GLOBALS['CNT_VAR']) is because we are > concatenating text in the function. The function does not know if the > variable is set or not and if you concatenate on an unset variable, you > get a notice message. > > This has been streamlined to just declare the global variable to null in > the index. > > My appologies to Adam who was probably unaware of where this code came from. > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |