diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/config.php | 1 | ||||
| -rw-r--r-- | inc/mod/pages.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index 54b60bf3..cddbf074 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1327,3 +1327,4 @@ // Complex regular expression to catch URLs. $config['url_regex'] = '/' . '(https?|ftp):\/\/' . '(([\w\-]+\.)+[a-zA-Z]{2,6}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' . '(:\d+)?' . '(\/([\w\-~.#\/?=&;:+%!*\[\]@$\'()+,|\^]+)?)?' . '/'; + diff --git a/inc/mod/pages.php b/inc/mod/pages.php index b3f09a66..706d747d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1328,6 +1328,7 @@ function mod_delete($board, $post) { if (!hasPermission($config['mod']['delete'], $board)) error($config['error']['noaccess']); + // Delete post deletePost($post); // Record the action modLog("Deleted post #{$post}"); |
