changeset 58:39600878ff93

prefer empty result to no result at all
author Charlie Root
date Sun, 09 Jun 2019 06:48:35 -0400
parents 7f90ac957713
children e4c78b3eace7
files php/read/getBookDetails.php
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/php/read/getBookDetails.php	Sun Jun 09 06:47:19 2019 -0400
+++ b/php/read/getBookDetails.php	Sun Jun 09 06:48:35 2019 -0400
@@ -306,9 +306,8 @@
 		$output .=  "<ProductGroup>Book</ProductGroup>";
 	      }
 	      else {
-		# Causes looping behaviour from client :-(
 		dl("gBD:  no DB info either, bailing\n");
-		return;
+		# try to avoid looping behaviour from client :-(
 	      }
 	    }
 	  }