From e7ba49b69c41793ba2f3605d6a6b0f8d6588e1c4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 18 Apr 2009 23:10:57 +0000 Subject: Properly import groups and put users into groups. Mark admin users appropriately. --- modules/g2_import/helpers/g2_import_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import/helpers/g2_import_task.php') diff --git a/modules/g2_import/helpers/g2_import_task.php b/modules/g2_import/helpers/g2_import_task.php index 3715e8a1..fea949e5 100644 --- a/modules/g2_import/helpers/g2_import_task.php +++ b/modules/g2_import/helpers/g2_import_task.php @@ -50,8 +50,8 @@ class g2_import_task_Core { $root_g2_id = g2(GalleryCoreApi::getDefaultAlbumId()); $root = ORM::factory("g2_map")->where("g2_id", $root_g2_id)->find(); if (!$root->loaded) { - $root->id = 1; $root->g2_id = $root_g2_id; + $root->g3_id = 1; $root->save(); } -- cgit v1.2.3