summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-10 13:28:55 +0100
committerczaks <marcin@6irc.net>2015-03-10 13:28:55 +0100
commite999955d08274efa5d78fd9bda410648dfb2ae12 (patch)
tree4a28ce12c73216b854a4cada55d56b3d3d0db7d6 /post.php
parent7d92a05bd8b283a79764e8ed5435661b9a8b27f2 (diff)
...
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/post.php b/post.php
index 93592590..87795aa0 100644
--- a/post.php
+++ b/post.php
@@ -800,6 +800,7 @@ if (isset($_POST['delete'])) {
$post['num_files'] = sizeof($post['files']);
$post['id'] = $id = post($post);
+ $post['slug'] = slugify($post);
insertFloodPost($post);