Task #1044 - Implementation de Test

Replace in class exit by throw new Exception
This commit is contained in:
Dany De Bontridder 2014-11-14 23:11:56 +01:00
parent 518a9090d6
commit 54b6037ede
37 changed files with 95 additions and 104 deletions

View file

@ -239,7 +239,7 @@ class Anc_Table extends Anc_Acc_Link
function export_csv()
{
bcscale(2);
if ( $this->check () != 0 ) {echo "DATE INVALIDE";exit();}
if ( $this->check () != 0 ) {throw new Exception ( "DATE INVALIDE");}
if ( $this->card_poste=='1')
{