From: James E. F. <jf...@ac...> - 2002-03-28 04:32:42
|
Doh! Yeah, I know what I did that broke that too. That should teach me to use a variable called "tmp" in a global scope. I wish PHP had block-level scoping. I just fixed it in CVS. Files affected: phpESP/admin/phpESP.ini phpESP/admin/include/where/test.inc Thanks for cathing that. -James On Wed, 27 Mar 2002, Matthew Gregg wrote: > In test.inc, current cvs, it looks like ['ESPCONFIG']['ME'] is not being > restored correctly here: > $tmp = $ESPCONFIG['ME']; > $HTTP_SERVER_VARS['PHP_SELF'] = $ESPCONFIG['ME'].'?where=test'; > include($ESPCONFIG['handler']); > /* restore stuff after the handler does it's job */ > $ESPCONFIG['ME'] = $tmp; > > Something strange happens to $tmp. I tried renaming $tmp to $tmptest and > it seemed to fix the problem. > > To see this bug, test a survey and click on the "View Results" or the "Go > back to Management Interface" link. |