VCL-1045 - Method of encrypting sensitive database entries

xmlrpcWrappers.php: modified XMLRPCcheckCryptSecrets: updated conditional that adds multiple UNION SELECT's to $subquery so the 2nd condition is count($secretids) > 1 instead of just else because $secretids could be empty at this point (thanks Andy!)

diff --git a/web/.ht-inc/xmlrpcWrappers.php b/web/.ht-inc/xmlrpcWrappers.php
index eb2dbb9..77cdb3e 100644
--- a/web/.ht-inc/xmlrpcWrappers.php
+++ b/web/.ht-inc/xmlrpcWrappers.php
@@ -3821,7 +3821,7 @@
 	$subquery = "SELECT $secret1 AS id";
 	if(count($secretids) == 1)
 		$subquery .= " UNION SELECT {$secretids[0]}";
-	else
+	elseif(count($secretids) > 1)
 		$subquery .= " UNION SELECT " . implode(' UNION SELECT ', $secretids);
 	$query = "SELECT ck.id as cryptkeyid, "
 	       .        "ck.pubkey as cryptkey, "