FIX label of source object
This commit is contained in:
parent
5138a09db3
commit
b22754c60b
@ -3200,7 +3200,7 @@ if ($action == 'create')
|
|||||||
print '<input type="hidden" name="origin" value="' . $objectsrc->element . '">';
|
print '<input type="hidden" name="origin" value="' . $objectsrc->element . '">';
|
||||||
print '<input type="hidden" name="originid" value="' . $objectsrc->id . '">';
|
print '<input type="hidden" name="originid" value="' . $objectsrc->id . '">';
|
||||||
|
|
||||||
switch ($classname) {
|
switch (get_class($objectsrc)) {
|
||||||
case 'Propal':
|
case 'Propal':
|
||||||
$newclassname = 'CommercialProposal';
|
$newclassname = 'CommercialProposal';
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user