mirror of
https://github.com/friendica/friendica
synced 2025-04-29 10:24:23 +02:00
Once again, notices ... (#5535)
This commit is contained in:
parent
4bd7daa205
commit
71b1638d9a
6 changed files with 15 additions and 4 deletions
|
@ -1848,6 +1848,8 @@ class DFRN
|
|||
|
||||
DBA::insert('mail', $msg);
|
||||
|
||||
$msg["id"] = DBA::lastInsertId();
|
||||
|
||||
// send notifications.
|
||||
/// @TODO Arange this mess
|
||||
$notif_params = [
|
||||
|
|
|
@ -3543,7 +3543,7 @@ class Diaspora
|
|||
|
||||
if ($item["attach"]) {
|
||||
$cnt = preg_match_all('/href=\"(.*?)\"(.*?)title=\"(.*?)\"/ism', $item["attach"], $matches, PREG_SET_ORDER);
|
||||
if (cnt) {
|
||||
if ($cnt) {
|
||||
$body .= "\n".L10n::t("Attachments:")."\n";
|
||||
foreach ($matches as $mtch) {
|
||||
$body .= "[".$mtch[3]."](".$mtch[1].")\n";
|
||||
|
|
|
@ -1356,7 +1356,7 @@ class OStatus
|
|||
"href" => $siteinfo["url"],
|
||||
"type" => "text/html; charset=UTF-8",
|
||||
"length" => "",
|
||||
"title" => $siteinfo["title"]];
|
||||
"title" => defaults($siteinfo, "title", $siteinfo["url"])];
|
||||
XML::addElement($doc, $root, "link", "", $attributes);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue