Changeset 256

Show
Ignore:
Timestamp:
03/08/08 07:40:01 (9 months ago)
Author:
kevin
Message:

Corrected autonotification bit to support comments as well as posts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • notification/lib.php

    r251 r256  
    128128            if (!notification_exists($object->friend,$n->object_type,$_SESSION['userid'])) { 
    129129                if (empty($n->user_type) || (user_info('user_type',$object->friend) == $n->user_type)) { 
    130                     notification_set($object->friend,$n->object_type,'posts'); 
     130                    notification_set($object->friend,$n->object_type,$AUTONOTIFICATION_FOR_ADD); 
    131131                } 
    132132            }