Author: david
Date: Mon Nov 21 11:29:34 2011
New Revision: 10342
Log:
Ignore empty name access points
Modified:
trunk/lib/QubitCsvImport.class.php
Modified: trunk/lib/QubitCsvImport.class.php
==============================================================================
--- trunk/lib/QubitCsvImport.class.php Mon Nov 21 09:22:20 2011 (r10341)
+++ trunk/lib/QubitCsvImport.class.php Mon Nov 21 11:29:34 2011 (r10342)
@@ -377,6 +377,11 @@
$n = 0;
foreach (explode('|', $parameters['nameAccessPoints']) as
$new_nameAccessPoint)
{
+ if (0 == strlen(trim($new_nameAccessPoint)))
+ {
+ continue;
+ }
+
// if the name does not exist, create it
if (!in_array($new_nameAccessPoint, $this->names) &&
!empty($new_nameAccessPoint))
{
--
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.