projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RelationshipCache - Remove case_id
[civicrm-core.git]
/
extern
/
url.php
diff --git
a/extern/url.php
b/extern/url.php
index 5254a59743420bd7f7758d0f6f4e773fce2aac86..4b5ed69974eca8b3e4d2db1c72a90798874f0f1c 100644
(file)
--- a/
extern/url.php
+++ b/
extern/url.php
@@
-8,13
+8,9
@@
CRM_Core_Config::singleton();
// To keep backward compatibility for URLs generated
// by CiviCRM < 1.7, we check for the q variable as well.
// 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 = CRM_Utils_Array::value('qid', $_GET);
-}
-else {
- $queue_id = CRM_Utils_Array::value('q', $_GET);
-}
-$url_id = CRM_Utils_Array::value('u', $_GET);
+$queue_id = $_GET['qid'] ?? $_GET['q'] ?? NULL;
+
+$url_id = $_GET['u'] ?? NULL;
if (!$url_id) {
echo "Missing input parameters\n";
if (!$url_id) {
echo "Missing input parameters\n";