FIX label of source object

This commit is contained in:
Laurent Destailleur
2018-07-02 16:22:40 +02:00
parent 5138a09db3
commit b22754c60b

View File

@@ -3200,7 +3200,7 @@ if ($action == 'create')
print '<input type="hidden" name="origin" value="' . $objectsrc->element . '">';
print '<input type="hidden" name="originid" value="' . $objectsrc->id . '">';
switch ($classname) {
switch (get_class($objectsrc)) {
case 'Propal':
$newclassname = 'CommercialProposal';
break;