Update mod_codeclient_elephant.php
This commit is contained in:
parent
1ccb5cb2d7
commit
802efbe6a7
@ -143,7 +143,7 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
|
|||||||
"ErrorCantUseRazIfNoYearInMask",
|
"ErrorCantUseRazIfNoYearInMask",
|
||||||
"ErrorCantUseRazInStartedYearIfNoYearMonthInMask",
|
"ErrorCantUseRazInStartedYearIfNoYearMonthInMask",
|
||||||
);
|
);
|
||||||
if ($type == 0 || $type == -1) {
|
if ($type != 1) {
|
||||||
$examplecust = $this->getNextValue($objsoc, 0);
|
$examplecust = $this->getNextValue($objsoc, 0);
|
||||||
if (!$examplecust) {
|
if (!$examplecust) {
|
||||||
$examplecust = $langs->trans('NotConfigured');
|
$examplecust = $langs->trans('NotConfigured');
|
||||||
@ -153,7 +153,7 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
|
|||||||
$examplecust = $langs->trans($examplecust);
|
$examplecust = $langs->trans($examplecust);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($type == 1 || $type == -1) {
|
if ($type != 0) {
|
||||||
$examplesup = $this->getNextValue($objsoc, 1);
|
$examplesup = $this->getNextValue($objsoc, 1);
|
||||||
if (!$examplesup) {
|
if (!$examplesup) {
|
||||||
$examplesup = $langs->trans('NotConfigured');
|
$examplesup = $langs->trans('NotConfigured');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user