Author: mcantelon
Date: Fri Jan 6 14:16:12 2012
New Revision: 10591
Log:
Got rid of use of magic number.
Modified:
trunk/lib/task/csvImportTask.class.php
Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php Fri Jan 6 14:12:12 2012
(r10590)
+++ trunk/lib/task/csvImportTask.class.php Fri Jan 6 14:16:12 2012
(r10591)
@@ -396,7 +396,10 @@
foreach($self->rowStatusVars['actorRoles'] as $actorRole)
{
// create/fetch term
- $term = $self->createOrFetchTerm(40, $actorRole['role']);
+ $term = $self->createOrFetchTerm(
+ QubitTaxonomy::EVENT_TYPE_ID,
+ $actorRole['role']
+ );
// create/fetch actor
$self->createOrFetchActor($actorRole['actor']);
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.