Merge pull request #16869 from colemanw/del
[civicrm-core.git] / Civi / Angular / AngularLoader.php
index f74479fb4685360be0be01adbb36a036f309f88f..58e69987004adee665fd985cc26657b44038c291 100644 (file)
@@ -73,7 +73,7 @@ class AngularLoader {
     $this->res = \CRM_Core_Resources::singleton();
     $this->angular = \Civi::service('angular');
     $this->region = \CRM_Utils_Request::retrieve('snippet', 'String') ? 'ajax-snippet' : 'html-header';
-    $this->pageName = isset($_GET['q']) ? $_GET['q'] : NULL;
+    $this->pageName = $_GET['q'] ?? NULL;
     $this->modules = [];
   }