diff --git a/zoompage.php b/zoompage.php
index 40a3ec0..d368221 100644
--- a/zoompage.php
+++ b/zoompage.php
@@ -57,7 +57,7 @@ function zoomPage($id, $urlhash)
                 OR forwardedip LIKE :trustedProxy
             ) 
             AND reserved = :reserved 
-            AND emailconfirm = 'Confirmed' 
+            AND (emailconfirm = 'Confirmed' or :configemailconfirmed = 0) 
             AND status != 'Closed';
 SQL
 	);
@@ -66,7 +66,8 @@ SQL
 	$viewableDataStatement->bindValue(":reserved", User::getCurrent()->getId());
 	$viewableDataStatement->bindValue(":trustedIp", $request->getTrustedIp());
 	$viewableDataStatement->bindValue(":trustedProxy", '%' . $request->getTrustedIp() . '%');
-    
+	$viewableDataStatement->bindValue(":configemailconfirmed", (int)$enableEmailConfirm);
+
 	$viewableDataStatement->execute();
     
 	$viewableData = $viewableDataStatement->fetchColumn();