Author: david
Date: Mon Jul 30 16:28:29 2012
New Revision: 12009
Log:
Strict type check for sfContext
Modified:
trunk/lib/QubitFlatfileImport.class.php
Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php Mon Jul 30 16:19:29 2012
(r12008)
+++ trunk/lib/QubitFlatfileImport.class.php Mon Jul 30 16:28:29 2012
(r12009)
@@ -536,7 +536,7 @@
}
// Set current culture
- if (isset($this->context))
+ if (isset($this->context) && 'sfContext' == get_class($this->context))
{
$this->context->getUser()->setCulture($this->columnValue('culture'));
}
--
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.