FIX Module gravatar was not triggered on thirdparty and contact card

This commit is contained in:
Laurent Destailleur 2016-11-19 19:43:55 +01:00
parent b3b395df42
commit b538f13efb

View File

@ -5727,6 +5727,7 @@ class Form
else $file=get_exdir(0, 0, 0, 0, $object, 'thirdparty').'/logos/'.$object->logo; else $file=get_exdir(0, 0, 0, 0, $object, 'thirdparty').'/logos/'.$object->logo;
$originalfile=get_exdir(0, 0, 0, 0, $object, 'thirdparty').'/logos/'.$object->logo; $originalfile=get_exdir(0, 0, 0, 0, $object, 'thirdparty').'/logos/'.$object->logo;
} }
$email=$object->email;
} }
else if ($modulepart=='contact') else if ($modulepart=='contact')
{ {
@ -5738,6 +5739,7 @@ class Form
else $file=get_exdir(0, 0, 0, 0, $object, 'contact').'/photos/'.$object->photo; else $file=get_exdir(0, 0, 0, 0, $object, 'contact').'/photos/'.$object->photo;
$originalfile=get_exdir(0, 0, 0, 0, $object, 'contact').'/photos/'.$object->photo; $originalfile=get_exdir(0, 0, 0, 0, $object, 'contact').'/photos/'.$object->photo;
} }
$email=$object->email;
} }
else if ($modulepart=='userphoto') else if ($modulepart=='userphoto')
{ {