Update card.php
This commit is contained in:
parent
796f718012
commit
204bf2e618
@ -1803,8 +1803,10 @@ if ($action == 'create' && $usercancreate) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Other attributes
|
// Other attributes
|
||||||
if (!empty($origin) && !empty($originid) && is_object($objectsrc))
|
$parameters = array();
|
||||||
|
if (!empty($origin) && !empty($originid) && is_object($objectsrc)) {
|
||||||
$parameters['objectsrc'] = $objectsrc;
|
$parameters['objectsrc'] = $objectsrc;
|
||||||
|
}
|
||||||
$parameters['socid'] = $socid;
|
$parameters['socid'] = $socid;
|
||||||
|
|
||||||
// Note that $action and $object may be modified by hook
|
// Note that $action and $object may be modified by hook
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user