aboutsummaryrefslogtreecommitdiff
path: root/actions/addalbum.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-18 23:51:31 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-18 23:51:31 +0000
commit718a5bffa4902f712f9cf9923172a0c1dc641d70 (patch)
tree40d7d7a5622cbfd295384f7ea13189fff4ceba22 /actions/addalbum.php
parent1074834100d5191ecb9a6aa02a532fae485f9378 (diff)
downloadelgg-718a5bffa4902f712f9cf9923172a0c1dc641d70.tar.gz
elgg-718a5bffa4902f712f9cf9923172a0c1dc641d70.tar.bz2
added some defines to make the code easier to understand
Diffstat (limited to 'actions/addalbum.php')
-rw-r--r--actions/addalbum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/addalbum.php b/actions/addalbum.php
index 329ebee48..909f04c9f 100644
--- a/actions/addalbum.php
+++ b/actions/addalbum.php
@@ -53,7 +53,7 @@
}
// we catch the adding images to new albums in the upload action and throw a river new album event
- $album->new_album = 1;
+ $album->new_album = TP_NEW_ALBUM;
// Success message