Changeset 1421 in ExiteCMS for trunk/forum/post.php
- Timestamp:
- 05/30/08 22:11:18 (4 years ago)
- File:
-
- 1 edited
-
trunk/forum/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/post.php
r1317 r1421 599 599 } 600 600 // check if this isn't a reload, back-post, or double submit 601 if (isset($_ COOKIE['post_'.$random_id])) {601 if (isset($_SESSION['posts'][$random_id])) { 602 602 $error = $locale['458']; 603 603 } else { 604 604 if (!$flood) { 605 setcookie("post_".$random_id, "posted", time()+60*60, "/", "", "0"); 605 if (!isset($_SESSION['posts']) || !is_array($_SESSION['posts'])) $_SESSION['posts'] = array(); 606 $_SESSION['posts'][$random_id] = time()+60*60*12; 606 607 $result = dbquery("UPDATE ".$db_prefix."forums SET forum_lastpost='".time()."', forum_lastuser='".$userdata['user_id']."' WHERE forum_id='$forum_id'"); 607 608 switch ($action) {
Note: See TracChangeset
for help on using the changeset viewer.
