1
1
Fork 0

Adding missing parentheses in mod/dfrn_poll

This commit is contained in:
Hypolite Petovan 2018-10-22 22:44:17 -04:00 committed by GitHub
parent dc35d2f2f3
commit fdbf244945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -549,14 +549,14 @@ function dfrn_poll_content(App $a)
switch ($destination_url) { switch ($destination_url) {
case 'profile': case 'profile':
$a->internalRedirect('profile/' . $profile . '?f=&tab=profile'; $a->internalRedirect('profile/' . $profile . '?f=&tab=profile');
break; break;
case 'photos': case 'photos':
$a->internalRedirect('photos/' . $profile; $a->internalRedirect('photos/' . $profile);
break; break;
case 'status': case 'status':
case '': case '':
$a->internalRedirect('profile/' . $profile; $a->internalRedirect('profile/' . $profile);
break; break;
default: default:
$appendix = (strstr($destination_url, '?') ? '&f=&redir=1' : '?f=&redir=1'); $appendix = (strstr($destination_url, '?') ? '&f=&redir=1' : '?f=&redir=1');