mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
notags calls
implement removeTags function
This commit is contained in:
parent
991f259ecb
commit
a0f65ca7a1
51 changed files with 274 additions and 232 deletions
|
@ -17,6 +17,7 @@ use Friendica\Database\DBA;
|
|||
use Friendica\Protocol\Email;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Security;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
function invite_post(App $a)
|
||||
{
|
||||
|
@ -40,7 +41,7 @@ function invite_post(App $a)
|
|||
|
||||
|
||||
$recipients = !empty($_POST['recipients']) ? explode("\n", $_POST['recipients']) : [];
|
||||
$message = !empty($_POST['message']) ? notags(trim($_POST['message'])) : '';
|
||||
$message = !empty($_POST['message']) ? Strings::removeTags(trim($_POST['message'])) : '';
|
||||
|
||||
$total = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue