diff php/read/getBookDetails.php @ 6:077b0a0a3e6d

remaining originals according to dependency walk
author Robert Boland <robert@markup.co.uk>
date Thu, 16 Feb 2017 22:29:02 +0000
parents a5e5475bf357
children 232deb0b066a
line wrap: on
line diff
--- a/php/read/getBookDetails.php	Wed Dec 28 13:07:32 2016 +0000
+++ b/php/read/getBookDetails.php	Thu Feb 16 22:29:02 2017 +0000
@@ -252,7 +252,7 @@
 		$salesRank = $xml->Items->Item->SalesRank;
 		$pubDate = $xml->Items->Item->ItemAttributes->PublicationDate;
 		$publisher = $xml->Items->Item->ItemAttributes->Publisher;
-	restore_error_handler();
+		restore_error_handler();
 		/*echo $title;
 		echo $author;
 		echo $binding;
@@ -338,11 +338,11 @@
 		$output .=  "<Genre2>" . htmlspecialchars($g2) . "</Genre2>";
 		$output .=  "<Genre3>" . htmlspecialchars($g3) . "</Genre3>";	
 		$output .=  "<ProductGroup>Book</ProductGroup>";
+		}
 	}
 	
 	$output .=  "</BookDetails>";
 	
 	echo $output;
-	}
 }
 ?>