Task #1044 - Implementation de Test
Replace in class exit by throw new Exception
This commit is contained in:
parent
518a9090d6
commit
54b6037ede
37 changed files with 95 additions and 104 deletions
|
|
@ -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')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue