3322ac2963
originally submitted patch (oops!). Also check for an empty $daily_accounting_save. Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de>