[imp] Error messages in CVS HEAD of IMP

Eric Rostetter eric.rostetter@physics.utexas.edu
Thu, 27 Jun 2002 23:17:08 -0500


CVS HEAD of IMP as of today.  Getting these errors, though not seeing any
problems...  Any idea why this is???

Jun 27 22:31:04 pcgxmt1 httpsd: PHP Warning:  Undefined variable: 
messageCacheID in /path/horde/imp/templates/compose/compose.inc on line 3
Jun 27 22:39:55 pcgxmt1 httpsd: PHP Warning:  Undefined variable: 
messageCacheID in /path/horde/imp/templates/compose/compose.inc on line 3
Jun 27 22:51:07 pcgxmt1 httpsd: PHP Warning:  Undefined variable: 
messageCacheID in /path/horde/imp/templates/compose/compose.inc on line 3

My guess is that sometimes $messageCache/$messageCacheID is empty, and 
hence the error.  So, should the form's echo do a conditional here
(return value or empty string based on whether the variable is empty or not)? 

Or is there a deeper error here?

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."

--"Enterprise Strategies" columnist Tom Yager.