Changeset 219
- Timestamp:
- 02/16/09 14:36:47 (3 years ago)
- Files:
-
- comment.php (modified) (1 diff)
- include/global.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
comment.php
r217 r219 347 347 $db->sql_query($sql); 348 348 349 $sql = 'DELETE FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_last_comment_id = ' . $id; 350 $db->sql_query($sql); 351 349 352 $sql = 'UPDATE ' . $table . ' SET comments = comments - 1 WHERE ' . $where . ' = ' . $arr['comment_for_id']; 350 353 $db->sql_query($sql); include/global.php
r211 r219 1297 1297 'BOARD_EMAIL' => $config['sitemail'], 1298 1298 'USERNAME' => html_entity_decode($ary['sender_name']), 1299 'U_LINK' => generate_base_url() . '/message.php' . ( $ary['count'] > $config['max_inbox_privmsgs'] ? '' : '?action=viewmessage&id=' . $ sended_id)1299 'U_LINK' => generate_base_url() . '/message.php' . ( $ary['count'] > $config['max_inbox_privmsgs'] ? '' : '?action=viewmessage&id=' . $ary['message_id'] ) 1300 1300 )); 1301 1301 $messenger->send(NOTIFY_EMAIL);
