Removed strval

skala
Arthur Portugal 15 years ago
parent 49a852d326
commit 2ead3df5dc
  1. 2
      main/forum/forumfunction.inc.php

@ -726,7 +726,7 @@ function delete_post($post_id) {
//delete attachment file about this post id
delete_attachment($post_id);
$last_post_of_thread=check_if_last_post_of_thread(strval(intval($_GET['thread'])));
$last_post_of_thread=check_if_last_post_of_thread(intval($_GET['thread']));
if (is_array($last_post_of_thread)) {
// Decreasing the number of replies for this thread and also changing the last post information

Loading…
Cancel
Save