Changeset 766
- Timestamp:
- 12/18/06 19:41:44 (2 years ago)
- Files:
-
- devel/units/weblogs/weblogs_actions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/weblogs/weblogs_actions.php
r765 r766 128 128 $comment->body = trim(optional_param('new_weblog_comment')); 129 129 $comment->postedname = trim(optional_param('postedname')); 130 $commentbackup = $comment; 130 131 if (!empty($comment->post_id) && !empty($comment->body) && !empty($comment->postedname)) { 131 132 $where = run("users:access_level_sql_where",$USER->ident); … … 166 167 $messages[] = __gettext("Your comment could not be posted. The system thought it was spam."); 167 168 } 168 define('redirect_url',url . user_info("username",$page_owner) . "/weblog/" . $comment ->post_id . ".html");169 define('redirect_url',url . user_info("username",$page_owner) . "/weblog/" . $commentbackup->post_id . ".html"); 169 170 } 170 171 }
