Diff of /branches/phpGedView-ca/modules/FamilySearch/FamilySearch_ServiceClient.php [r6960] .. [r6961]  Maximize  Restore

Switch to side-by-side view

--- a/branches/phpGedView-ca/modules/FamilySearch/FamilySearch_ServiceClient.php
+++ b/branches/phpGedView-ca/modules/FamilySearch/FamilySearch_ServiceClient.php
@@ -36,8 +36,8 @@
 	 * @param $gedrec gedcom record
 	 */
 	function FamilySearch_ServiceClient($gedrec){
-
-		parent::ServiceClient($gedrec);
+
+		parent::__construct($gedrec);
 
 		//get info from the gedcom record
 		$this->url = get_gedcom_value("URL",1,$gedrec);
@@ -286,7 +286,7 @@
 			$result = $this->xmlGed->getGedcomRecord($xref);
 			
 			//print_r($result);
-			if (PEAR::isError($result) || isset($result->faultcode) || get_class($result)=='SOAP_Fault' || is_object($result)) {
+			if (PEAR::isError($result) || isset($result->faultcode) || is_object($result)) {
 				if (isset($result->faultstring)) {
 					AddToLog($result->faultstring);
 					print $result->faultstring;