working on readonly contact attribute
This commit is contained in:
parent
2e5fb9c37e
commit
fa154248dc
8 changed files with 58 additions and 25 deletions
|
@ -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' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue