From: Phil D. <we...@pa...> - 2004-10-12 07:08:16
|
> > The code is incorrect. It only loads session.inc and header.inc under the > following condition > > if (!isset($_POST['FromDate']) OR !isset($_POST['ToDate']) OR > $InputError==1){ > include ('includes/session.inc'); > $title = _('Order Status Report'); > include ('includes/header.inc'); > > This cannot be correct. >I'm not going to play around with this file though > because someone else has been working on it lately and it would be better > if they took a look... > > In fact I believe this is a fairly new file altogether. Yes this is a new report - only a week or so old. But it is right that session.inc only gets included if there is no date range set. Otherwise it is into making the report and then PDFStarter_ros.inc is in there. - it starts a session and includes config.php etc. Phil |