diff --git a/src/Rcm/Repository/Site.php b/src/Rcm/Repository/Site.php
index <HASH>..<HASH> 100644
--- a/src/Rcm/Repository/Site.php
+++ b/src/Rcm/Repository/Site.php
@@ -127,10 +127,10 @@ class Site extends EntityRepository
             ->where('site.siteId = :siteId')
             ->setParameter('siteId', $siteId);
 
-//        if ($checkActive) {
-//            $queryBuilder->andWhere('site.status = :status');
-//            $queryBuilder->setParameter('status', 'A');
-//        }
+        if ($checkActive) {
+            $queryBuilder->andWhere('site.status = :status');
+            $queryBuilder->setParameter('status', 'A');
+        }
 
         $result = $queryBuilder->getQuery()->getScalarResult();
Disable sites Enable sites
Uncomment some code