summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-28 04:26:18 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-28 04:26:18 +0000
commit3fa12655dd2409981804c9ef065ff4c1d2daa3b6 (patch)
treed5be8be09a9c2650321e1d98972578bdd533d9e4 /core
parent143337dbf08a3f5252004994a4bb6ab0d50f100d (diff)
Correct parameter on gallery.album.created event firing
Diffstat (limited to 'core')
-rw-r--r--core/helpers/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php
index 70f5222a..e3972975 100644
--- a/core/helpers/album.php
+++ b/core/helpers/album.php
@@ -54,7 +54,7 @@ class album_Core {
mkdir($thumbnail_dir);
}
- Event::run("gallery.album.created", $photo);
+ Event::run("gallery.album.created", $album);
return $album;
}