mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
Merge remote-tracking branch 'upstream/2019.09-rc' into remote-rework
This commit is contained in:
commit
0185c91246
9 changed files with 15824 additions and 15027 deletions
|
@ -33,13 +33,10 @@ class Magic extends BaseModule
|
|||
$test = (!empty($_REQUEST['test']) ? intval($_REQUEST['test']) : 0);
|
||||
$owa = (!empty($_REQUEST['owa']) ? intval($_REQUEST['owa']) : 0);
|
||||
|
||||
// NOTE: I guess $dest isn't just the profile url (could be also
|
||||
// other profile pages e.g. photo). We need to find a solution
|
||||
// to be able to redirct to other pages than the contact profile.
|
||||
$cid = Contact::getIdForURL($dest);
|
||||
|
||||
if (!$cid && !empty($addr)) {
|
||||
if (!empty($addr)) {
|
||||
$cid = Contact::getIdForURL($addr);
|
||||
} else {
|
||||
$cid = Contact::getIdForURL($dest);
|
||||
}
|
||||
|
||||
if (!$cid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue