Merge pull request #17197 from eileenmcnaughton/act_r_test
[civicrm-core.git] / CRM / Member / Page / DashBoard.php
index a4e2a410df4b1af5971b68478b8b1d7266f0bfd6..57fb30cda56fb6f0448871adac2319d423471302 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page {
     $isCurrentMonth = 0;
 
     // You can force the dashboard to display based upon a certain date
-    $ym = CRM_Utils_Array::value('date', $_GET);
+    $ym = $_GET['date'] ?? NULL;
 
     if ($ym) {
       if (preg_match('/^\d{6}$/', $ym) == 0 ||