mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Removed notices that revealed themselfes over night ... (#5645)
* Removed notices that revealed themselfes over night ... * And more notices removed that occured over night * One more .. * Some more notices of the day ...
This commit is contained in:
parent
5a171c0afd
commit
54aee2aaa7
10 changed files with 43 additions and 22 deletions
|
@ -480,6 +480,12 @@ function dfrn_poll_content(App $a)
|
|||
}
|
||||
|
||||
if (($type === 'profile') && (strlen($sec))) {
|
||||
// heluecht: I don't know why we don't fail immediately when the user or contact hadn't been found.
|
||||
// Since it doesn't make sense to continue from this point on, we now fail here. This should be safe.
|
||||
if (!DBA::isResult($r)) {
|
||||
System::httpExit(404, ["title" => L10n::t('Page not found.')]);
|
||||
}
|
||||
|
||||
// URL reply
|
||||
if ($dfrn_version < 2.2) {
|
||||
$s = Network::fetchUrl($r[0]['poll']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue