From 7423c755c04d55dda274baf24c38ef76815cc92b Mon Sep 17 00:00:00 2001 From: Felix Rabinovich Date: Wed, 12 Nov 2008 08:30:55 +0000 Subject: aliasing owner to user --- core/controllers/welcome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index b9c3ac8e..4bc709b3 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -151,7 +151,7 @@ class Welcome_Controller extends Template_Controller { $parent = $parents[array_rand($parents)]; if (!rand(0, 10)) { $parents[] = album::create( - $parent->id, "rnd_" . rand(), "Rnd $i", "rnd $i", "random album $i", $user_id) + $parent->id, "rnd_" . rand(), "Rnd $i", "random album $i", $user_id) ->set_thumbnail(DOCROOT . "core/tests/test.jpg", 200, 150) ->save(); } else { -- cgit v1.2.3