forked from Wavyzz/dolibarr
Fix regression on pass encryption in conf
This commit is contained in:
@@ -444,7 +444,7 @@ print '</tr>';
|
||||
print '<tr class="oddeven">';
|
||||
print '<td colspan="3">'.$langs->trans("MainDbPasswordFileConfEncrypted").'</td>';
|
||||
print '<td align="center" width="60">';
|
||||
if (preg_match('/crypted:/i', $dolibarr_main_db_pass) || !empty($dolibarr_main_db_encrypted_pass)) {
|
||||
if (preg_match('/crypted:/i', $dolibarr_main_db_pass) || preg_match('/dolcrypt:/i', $dolibarr_main_db_pass) || !empty($dolibarr_main_db_encrypted_pass)) {
|
||||
print img_picto($langs->trans("Active"), 'tick');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user