mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Fixes: (#5404)
- fixed E_NOTICE in mod/follow.php - fixed 2 E_NOTICE in src/Protocol/Diaspora.php - added more type-hints for `array` type where known Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
732da04ced
commit
b05b96d04a
2 changed files with 60 additions and 55 deletions
|
@ -19,7 +19,7 @@ function follow_post(App $a)
|
|||
// NOTREACHED
|
||||
}
|
||||
|
||||
if ($_REQUEST['cancel']) {
|
||||
if (isset($_REQUEST['cancel'])) {
|
||||
goaway($_SESSION['return_url']);
|
||||
}
|
||||
|
||||
|
@ -166,10 +166,13 @@ function follow_content(App $a)
|
|||
'$url_label' => L10n::t('Profile URL'),
|
||||
'$myaddr' => $myaddr,
|
||||
'$request' => $request,
|
||||
/*'$location' => Friendica\Content\Text\BBCode::::convert($r[0]['location']),
|
||||
/*
|
||||
* @TODO commented out?
|
||||
'$location' => Friendica\Content\Text\BBCode::::convert($r[0]['location']),
|
||||
'$location_label'=> L10n::t('Location:'),
|
||||
'$about' => Friendica\Content\Text\BBCode::::convert($r[0]['about'], false, false),
|
||||
'$about_label' => L10n::t('About:'),*/
|
||||
'$about_label' => L10n::t('About:'),
|
||||
*/
|
||||
'$keywords' => $r[0]['keywords'],
|
||||
'$keywords_label'=> L10n::t('Tags:')
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue