SugarCRM SupPanel删除键不好用

在include\generic\DeleteRelationship.php
if($bean_name == 'Team'){
$focus->retrieve($record);
$focus->remove_user_from_team($linked_id);
}
else{
// cut it off:
$focus->load_relationship($linked_field);
$bean_name1=$beanList[$_REQUEST['linked_field']];
require_once($beanFiles[$bean_name1]);
$f = new $bean_name1();
$f->mark_deleted($linked_id);//重点
}
posted @ 2011-02-13 17:51  海乐学习  阅读(237)  评论(0编辑  收藏  举报