mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Fix: Regression
This commit is contained in:
@@ -484,17 +484,19 @@ if ($rowid)
|
||||
print $html->showrefnav($adh,'rowid');
|
||||
print '</td></tr>';
|
||||
|
||||
$showphoto='<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">'.$html->showphoto('memberphoto',$adh).'</td>';
|
||||
|
||||
// Login
|
||||
if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED))
|
||||
{
|
||||
print '<tr><td>'.$langs->trans("Login").'</td><td class="valeur" colspan="2">'.$adh->login.' </td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Login").'</td><td class="valeur">'.$adh->login.' </td>';
|
||||
print $showphoto; $showphoto='';
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
// Morphy
|
||||
print '<tr><td>'.$langs->trans("Nature").'</td><td class="valeur" >'.$adh->getmorphylib().'</td>';
|
||||
print '<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">';
|
||||
print $html->showphoto('memberphoto',$adh);
|
||||
print '</td>';
|
||||
print $showphoto; $showphoto='';
|
||||
print '</tr>';
|
||||
|
||||
// Type
|
||||
|
||||
@@ -217,7 +217,7 @@ class Adherent extends CommonObject
|
||||
'%PASSWORD%'=>$msgishtml?dol_htmlentitiesbr($this->pass):$this->pass
|
||||
);
|
||||
|
||||
$substitutionarray=complete_substitutions_array($substitutionarray, $langs);
|
||||
complete_substitutions_array($substitutionarray, $langs);
|
||||
|
||||
return make_substitutions($text,$substitutionarray);
|
||||
}
|
||||
|
||||
@@ -3578,7 +3578,7 @@ function dol_textishtml($msg,$option=0)
|
||||
*/
|
||||
function make_substitutions($chaine,$substitutionarray)
|
||||
{
|
||||
if (! is_array($substitutionarray)) return 'ErrorBadParametersCalling_make_substitutions';
|
||||
if (! is_array($substitutionarray)) return 'ErrorBadParameterSubstitutionArrayWhenCalling_make_substitutions';
|
||||
|
||||
// Make substitition
|
||||
foreach ($substitutionarray as $key => $value)
|
||||
|
||||
@@ -146,7 +146,7 @@ if ($resql)
|
||||
'__OTHER5__' => $other5
|
||||
);
|
||||
|
||||
$substitutionarray=complete_substitutions_array($substitutionarray,$langs);
|
||||
complete_substitutions_array($substitutionarray,$langs);
|
||||
$newsubject=make_substitutions($subject,$substitutionarray);
|
||||
$newmessage=make_substitutions($message,$substitutionarray);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user