Browse Source

Allow for homonym sessions in migration - refs BT#4882

Yannick Warnier 12 years ago
parent
commit
81df1d9c76
1 changed files with 1 additions and 1 deletions
  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']);