浏览代码

Allow for homonym sessions in migration - refs BT#4882

Yannick Warnier 12 年之前
父节点
当前提交
81df1d9c76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/migrate/migration.custom.class.php

+ 1 - 1
tests/migrate/migration.custom.class.php

@@ -350,7 +350,7 @@ class MigrationCustom {
         
         //Here the $data variable has $data['course_code'] that will be added when creating the session
         // If session already exists, it will return the existing session id
-        $session_id = SessionManager::add($data);
+        $session_id = SessionManager::add($data, true);
         //error_log('create_session');        
         if (!$session_id) {
             error_log('Error: Failed to create_session '.$data['name']);