Update adherent_type.class.php

This commit is contained in:
ptibogxiv 2019-04-25 09:37:07 +02:00 committed by GitHub
parent 6190e7813e
commit 65bb7d9031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,14 +417,14 @@ class AdherentType extends CommonObject
* @param string $morphy Nature of the adherent (physical or moral)
* @return string Label
*/
function getmorphylib($morphy='')
public function getmorphylib($morphy = '')
{
global $langs;
if ($morphy == 'phy') { return $langs->trans("Physical"); }
elseif ($morphy == 'mor') { return $langs->trans("Moral"); }
elseif ($morphy == 'mor') { return $langs->trans("Moral"); }
else return $langs->trans("Physical & Morale");
//return $morphy;
}
}
/**
* Return clicable name (with picto eventually)