I've fixed the nummessages typo and found a whole bunch of undefined vaiables to fix when I turned on notices. I know i've turned on E_ALL notices to find these before, but it seems that is was undone during some upgrade or something. Thanks for reminding me. I've found still more undefined variables to fix also.
Paul On Fri, May 14, 2010 at 4:11 PM, Rich Cloutier <ri...@sysupport.com> wrote: > Just downloaded the latest version (2.1 stable) the other day to play with. > > Turned on E_ALL error reporting and I think I've found a typo in > dashboard.php on line 46: > > $nummessages = $nummessaes + $num_rows; > > I think that should be: > > $nummessages = $nummessages + $num_rows; > > Also, you use variables in your language files that are undefined (or > can be:) > > $payment_due_date, $total_owed, $turnoff_date, $cancel_date, $phone_billing > > Turning on notices and fixing undefined variables can be a pain in the > butt but I think it leads to better programming, a more robust script > (will run properly in more environments) and sometimes you catch errors > like the above. > > Rich > -- The CitrusDB Project | http://www.citrusdb.org Open Source Customer Care & Billing System ------------------------------------------------------------------------------ _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users