X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=extern%2Furl.php;h=4b5ed69974eca8b3e4d2db1c72a90798874f0f1c;hb=6ddb1d7735d5912d1476a8b6c4a66b11c42c4474;hp=2627f4f013f5c42c9fd1bb6c8233cf7ebeb9549d;hpb=8d557f6ba0ba874b4a8efe1018ec64a94427f34a;p=civicrm-core.git diff --git a/extern/url.php b/extern/url.php index 2627f4f013..4b5ed69974 100644 --- a/extern/url.php +++ b/extern/url.php @@ -8,12 +8,8 @@ CRM_Core_Config::singleton(); // To keep backward compatibility for URLs generated // by CiviCRM < 1.7, we check for the q variable as well. -if (isset($_GET['qid'])) { - $queue_id = $_GET['qid'] ?? NULL; -} -else { - $queue_id = $_GET['q'] ?? NULL; -} +$queue_id = $_GET['qid'] ?? $_GET['q'] ?? NULL; + $url_id = $_GET['u'] ?? NULL; if (!$url_id) {