when translating like activities, we're distinguishing comments from posts by mid and parent_mid; neither if which are present in the stored activity object
This commit is contained in:
parent
29320f8aad
commit
b926a4c67e
@ -146,7 +146,7 @@ function localize_item(&$item){
|
|||||||
case ACTIVITY_OBJ_NOTE:
|
case ACTIVITY_OBJ_NOTE:
|
||||||
default:
|
default:
|
||||||
$post_type = t('status');
|
$post_type = t('status');
|
||||||
if($obj['mid'] != $obj['parent_mid'])
|
if($obj['id'] != $obj['parent'])
|
||||||
$post_type = t('comment');
|
$post_type = t('comment');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user