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) {
case 'profile':
$a->internalRedirect('profile/' . $profile . '?f=&tab=profile';
$a->internalRedirect('profile/' . $profile . '?f=&tab=profile');
break;
case 'photos':
$a->internalRedirect('photos/' . $profile;
$a->internalRedirect('photos/' . $profile);
break;
case 'status':
case '':
$a->internalRedirect('profile/' . $profile;
$a->internalRedirect('profile/' . $profile);
break;
default:
$appendix = (strstr($destination_url, '?') ? '&f=&redir=1' : '?f=&redir=1');