if ($format == 'json') {
System::jsonExit($arr['text']);
} else {
- System::httpExit($arr['text']);
+ $this->httpExit($arr['text']);
}
}
System::jsonExit($ret);
} else {
- System::httpExit(BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? ''));
+ $this->httpExit(BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? ''));
}
}
}