This commit is contained in:
gnieark 2015-12-04 22:29:31 +01:00
parent 147d1cd3c7
commit 9fc1d8487b

View File

@ -51,7 +51,7 @@ switch($_POST['act']){
'".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."',
'".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botURL']))."',
'".mysqli_real_escape_string($lnMysql,
preg_replace('#^(http|https|mailto|ftp)://(([a-z0-9\/\.\?-_=#\@:~])*)#i','<a href="$1://$2">$1://$2</a>'
preg_replace('#^(http|https|mailto|ftp)://(([a-z0-9\/\.\?-_=\#@:~])*)#i','<a href="$1://$2">$1://$2</a>'
,nl2br(htmlentities($_POST['botDescription'])))
)."',
'NOW(),