aboutsummaryrefslogtreecommitdiff
path: root/actions/addalbum.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/addalbum.php')
-rw-r--r--actions/addalbum.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/addalbum.php b/actions/addalbum.php
index bdac9bfbf..8ddcca131 100644
--- a/actions/addalbum.php
+++ b/actions/addalbum.php
@@ -42,6 +42,8 @@ if (!$album->save()) {
forward(get_input('forward_url', $_SERVER['HTTP_REFERER']));
}
+mkdir(tp_get_img_dir() . $album->guid, 0755, true);
+
system_message(elgg_echo("album:created"));
// Remove the album post cache