summaryrefslogtreecommitdiff
path: root/core/controllers/welcome.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r--core/controllers/welcome.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index 1c90842c..f421ffc5 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -52,8 +52,8 @@ class Welcome_Controller extends Template_Controller {
$parent = $parents[array_rand($parents)];
switch(rand(0, 1)) {
case 0:
- $album = album::create($parent->id, "rnd_" . rand(), "Rnd $i", "rnd $i");
- $parents[] = $album;
+ $parents[] = album::create($parent->id, "rnd_" . rand(), "Rnd $i", "rnd $i")
+ ->set_thumbnail(DOCROOT . "core/tests/test.jpg", 200, 150);
break;
case 1: