Update expensereport.class.php
This commit is contained in:
parent
acc2fcbddd
commit
2077f7ad96
@ -1520,13 +1520,13 @@ class ExpenseReport extends CommonObject
|
|||||||
$this->error=$obj->error;
|
$this->error=$obj->error;
|
||||||
$this->errors=$obj->errors;
|
$this->errors=$obj->errors;
|
||||||
//dol_print_error($this->db,get_class($this)."::getNextNumRef ".$obj->error);
|
//dol_print_error($this->db,get_class($this)."::getNextNumRef ".$obj->error);
|
||||||
return "";
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessages($langs->transnoentitiesnoconv("Error_EXPENSEREPORT_ADDON_NotDefined"), null, 'errors');
|
$this->error = "Error_EXPENSEREPORT_ADDON_NotDefined";
|
||||||
$errors++;
|
return -2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user