1
0
Fork 0

working on readonly contact attribute

This commit is contained in:
Mike Macgirvin 2010-07-27 22:32:21 -07:00
commit fa154248dc
8 changed files with 58 additions and 25 deletions

View file

@ -96,8 +96,12 @@ function item_post(&$a) {
$post_type == notags(trim($_POST['type']));
if($post_type == 'net-comment') {
if($parent_item !== null && $parent_item['type'] != 'remote')
$post_type = 'wall-comment';
if($parent_item !== null) {
if($parent_item['type'] == 'remote')
$post_type = 'remote-comment';
else
$post_type = 'wall-comment';
}
}
$notify_type = (($parent) ? 'comment-new' : 'wall-new' );