Ignore:
Timestamp:
Dec 19, 2011, 6:08:49 PM (12 years ago)
Author:
mistic100
Message:

feature:2538 transmits messages after comment edition trough SESSION (no more ugly url displayed, avoid some minor bugs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_comment.inc.php

    r12764 r12767  
    229229  {
    230230    $key = get_ephemeral_key(3, $page['image_id']);
    231     $content = '';
    232     if ('reject'===@$comment_action)
    233     {
    234       $content = htmlspecialchars( stripslashes($comm['content']) );
    235     }
    236231    $template->assign('comment_add',
    237232        array(
    238233          'F_ACTION' => $url_self,
    239234          'KEY' => $key,
    240           'CONTENT' => $content,
     235          'CONTENT' => null,
    241236          'SHOW_AUTHOR' => !is_classic_user()
    242237        ));
Note: See TracChangeset for help on using the changeset viewer.