diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php
index b129cfd98b3..7bef70f9873 100644
--- a/htdocs/accountancy/class/accountingaccount.class.php
+++ b/htdocs/accountancy/class/accountingaccount.class.php
@@ -880,7 +880,8 @@ class AccountingAccount extends CommonObject
}
// Manage Deposit
- if (getDolGlobalString('ACCOUNTING_ACCOUNT_' . strtoupper($type) . '_DEPOSIT')) {
+ $account_deposit = getDolGlobalString('ACCOUNTING_ACCOUNT_' . strtoupper($type) . '_DEPOSIT');
+ if (!empty($account_deposit) && $account_deposit != '-1') {
if ($factureDet->desc == "(DEPOSIT)" || $facture->type == $facture::TYPE_DEPOSIT) {
$accountdeposittoventilated = new self($this->db);
if ($type == 'customer') {
diff --git a/htdocs/accountancy/supplier/index.php b/htdocs/accountancy/supplier/index.php
index a98a7e79962..366c7253f8f 100644
--- a/htdocs/accountancy/supplier/index.php
+++ b/htdocs/accountancy/supplier/index.php
@@ -208,9 +208,9 @@ if ($action == 'validatehistory' && $user->hasRight('accounting', 'bind', 'write
$product_static->label = $objp->product_label;
$product_static->status = !empty($objp->status) ? $objp->status : 0;
$product_static->status_buy = !empty($objp->status_buy) ? $objp->status_buy : 0;
- $product_static->accountancy_code_sell = $objp->code_sell;
- $product_static->accountancy_code_sell_intra = $objp->code_sell_intra;
- $product_static->accountancy_code_sell_export = $objp->code_sell_export;
+ $product_static->accountancy_code_sell = !empty($objp->code_sell)? $objp->code_sell : "";
+ $product_static->accountancy_code_sell_intra = !empty($objp->code_sell_intra)? $objp->code_sell_intra : "";
+ $product_static->accountancy_code_sell_export = !empty($objp->code_sell_export)? $objp->code_sell_export : "";
$product_static->accountancy_code_buy = !empty($objp->code_buy) ? $objp->code_buy : "";
$product_static->accountancy_code_buy_intra = !empty($objp->code_buy_intra) ? $objp->code_buy_intra : "";
$product_static->accountancy_code_buy_export = !empty($objp->code_buy_export) ? $objp->code_buy_export : "";
diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php
index b921e787195..e5d0ac61528 100644
--- a/htdocs/admin/const.php
+++ b/htdocs/admin/const.php
@@ -226,10 +226,10 @@ print "\n";
print "\n";
print '
';
-print ' ';
+print ' ';
print ' '."\n";
print '';
-print ' ';
+print ' ';
print ' ';
print '';
print ' ';
diff --git a/htdocs/admin/security_captcha.php b/htdocs/admin/security_captcha.php
index 7f620f9bfbf..55f96b22bea 100644
--- a/htdocs/admin/security_captcha.php
+++ b/htdocs/admin/security_captcha.php
@@ -244,6 +244,7 @@ if (isModEnabled('recruitment')) {
print ' ';
}
+
if (isModEnabled('webportal')) {
print '' . $langs->trans("UseCaptchaCode").' - WebPortal public form ';
if (!empty($conf->use_javascript_ajax)) {
@@ -264,6 +265,7 @@ if (isModEnabled('webportal')) {
print '';
print '';
+
$selectedcaptcha = getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA_HANDLER', 'standard');
if ($showavailablecaptcha) {
diff --git a/htdocs/admin/system/security.php b/htdocs/admin/system/security.php
index 7f6b39fef35..59cae88ed92 100644
--- a/htdocs/admin/system/security.php
+++ b/htdocs/admin/system/security.php
@@ -860,7 +860,7 @@ $exampletodecrypt = GETPOST('exampletodecrypt', 'password');
print ''.$langs->trans("AlgorithmFor", $langs->transnoentitiesnoconv("SensitiveData"));
print $form->textwithpicto('', 'reversible encryption done with dolEncrypt/dolDecrypt');
-print ' = '.constant('MAIN_SECURITY_REVERSIBLE_ALGO').' with a random seed + a crypt key defined into the conf.php file (in $dolibarr_main_dolcrypt_key or $dolibarr_main_instance_unique_id) ';
+print ' = '.constant('MAIN_SECURITY_REVERSIBLE_ALGO').' with a random seed + a crypt key defined into the conf.php file (in $dolibarr_main_instance_unique_id or $dolibarr_main_dolcrypt_key) ';
print ' '."\n";
print ''.$langs->trans("Email").' ';
- print img_picto("", "email").' ';
+ print img_picto("", "email", 'class="pictofixedwidth"').' ';
print ' '."\n";
print ''.$langs->trans("Phone").' ';
- print img_picto("", "phone").' ';
+ print img_picto("", "phone", 'class="pictofixedwidth"').' ';
print ' '."\n";
print ''.$langs->trans("DateOfBirth").' ';
diff --git a/htdocs/webhook/target_card.php b/htdocs/webhook/target_card.php
index abb3e7602c1..71a2ab4d754 100644
--- a/htdocs/webhook/target_card.php
+++ b/htdocs/webhook/target_card.php
@@ -185,7 +185,7 @@ if (empty($reshook)) {
if (empty($response['curl_error_no']) && $response['http_code'] >= 200 && $response['http_code'] < 300) {
setEventMessages($langs->trans("Success"), null);
} else {
- $errormsg = "The WebHook for triggercode: ".$triggercode." failed to get URL ".$url." with httpcode=".(!empty($response['http_code']) ? $response['http_code'] : "")." curl_error_no=".(!empty($response['curl_error_no']) ? $response['curl_error_no'] : "");
+ $errormsg = "The WebHook for triggercode: ".$triggercode." failed to do the GET of URL ".$url." with httpcode=".(!empty($response['http_code']) ? $response['http_code'] : "")." curl_error_no=".(!empty($response['curl_error_no']) ? $response['curl_error_no'] : "");
setEventMessages($langs->trans($errormsg), null, 'errors');
}
}