Adding missing parentheses in mod/dfrn_poll
This commit is contained in:
parent
dc35d2f2f3
commit
fdbf244945
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue