2
0
forked from Wavyzz/dolibarr

Fix restore option MAIN_OPTIMIZEFORCOLORBLIND

This commit is contained in:
Laurent Destailleur
2022-09-13 15:37:54 +02:00
parent 7aa8fa98ec
commit 6ecd862a88
2 changed files with 3 additions and 3 deletions

View File

@@ -6634,7 +6634,7 @@ class Form
}
// Add a "Now" link
if ($conf->use_javascript_ajax && $addnowlink) {
if (!empty($conf->use_javascript_ajax) && $addnowlink) {
// Script which will be inserted in the onClick of the "Now" link
$reset_scripts = "";
if ($addnowlink == 2) { // local computer time