mirror of
https://github.com/friendica/friendica
synced 2025-04-23 07:10:14 +00:00
Some more removed notices
This commit is contained in:
parent
6b14a2623a
commit
170dd2a705
7 changed files with 43 additions and 39 deletions
|
@ -86,7 +86,7 @@ class BBCode extends BaseObject
|
|||
$post["url"] = $matches[1];
|
||||
$post["title"] = $matches[2];
|
||||
}
|
||||
if (!empty($post["url"] == "") && (in_array($post["type"], ["link", "video"]))
|
||||
if (!empty($post["url"]) && (in_array($post["type"], ["link", "video"]))
|
||||
&& preg_match("/\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", $attacheddata, $matches)) {
|
||||
$post["url"] = $matches[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue