Merge pull request #20764 from colemanw/multiContactRefJoins
[civicrm-core.git] / sql / GenerateGroups.php
index 704b924f8660919d2ed99005cd11278bedf0741f..18381428ea9132eaab2d375abdca02dde137c171 100644 (file)
@@ -14,7 +14,7 @@
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
  */
-if (php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0)) {
+if (!(php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0))) {
   header("HTTP/1.0 404 Not Found");
   return;
 }