aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 5d8f1dcb90..9d642457a4 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -178,6 +178,8 @@ function update_post_information($type, $ids, $return_update_sql = false)
WHERE {$type}_id = $update_id";
$db->sql_query($sql);
}
+
+ return;
}
/**
@@ -1263,7 +1265,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
// We do not handle erasing posts here
if ($mode == 'delete')
{
- return;
+ return false;
}
$current_time = time();