Diff of /winnebago-to-koha/trunk/importPatrons/processPatronData.php [r563] .. [r564]  Maximize  Restore

  Switch to side-by-side view

--- a/winnebago-to-koha/trunk/importPatrons/processPatronData.php
+++ b/winnebago-to-koha/trunk/importPatrons/processPatronData.php
@@ -154,6 +154,13 @@
 		} elseif ($userDefinedFields[$i] == 'Parent firs'){
 			$myBorrower['contactname'] .= ',' . trim($thisPatron['users' . $i]);
 #			echo 'User defined field ' . $i . ' data is ' . trim($thisPatron['users' . $i]) . ". This is a Parent's First Name\n";
+		} elseif ($userDefinedFields[$i] == 'parent last'){
+			$myBorrower['contactname'] = trim($thisPatron['users' . $i]);
+#			echo 'User defined field ' . $i . ' data is ' . trim($thisPatron['users' . $i]) . ". This is a Parent's Last Name\n";
+		} elseif ($userDefinedFields[$i] == 'parent firs'){
+			$myBorrower['contactname'] .= ',' . trim($thisPatron['users' . $i]);
+#			echo 'User defined field ' . $i . ' data is ' . trim($thisPatron['users' . $i]) . ". This is a Parent's First Name\n";
+
 		} elseif ( $userDefinedFields[$i] == 'Township' ){
 			$myBorrower['municipality'] = trim($thisPatron['users' . $i]);
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks