Fix various notices

This commit is contained in:
Hypolite Petovan 2018-12-15 04:32:47 -05:00
parent 607f7daf51
commit b6e1571b1e
7 changed files with 17 additions and 17 deletions

View file

@ -626,7 +626,7 @@ class BBCode extends BaseObject
$data["title"] = $data["url"];
}
if (($data["text"] == "") && ($data["title"] != "") && ($data["url"] == "")) {
if (empty($data["text"]) && !empty($data["title"]) && empty($data["url"])) {
return $data["title"] . $data["after"];
}