mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-03-27 14:48:37 -04:00
Fixback
This commit is contained in:
parent
671004579c
commit
e2b331a039
@ -78,9 +78,13 @@ class Incident implements JsonSerializable
|
||||
* for char limits.
|
||||
* @return void
|
||||
*/
|
||||
public static function add($user_id = $_SESSION['user'],$type = $_POST['type'],$title = strip_tags($_POST['title']),$text = strip_tags($_POST['text'], '<br>'))
|
||||
public static function add()
|
||||
{
|
||||
global $mysqli, $message;
|
||||
$user_id = $_SESSION['user'];
|
||||
$type = $_POST['type'];
|
||||
$title = strip_tags($_POST['title']);
|
||||
$text = strip_tags($_POST['text'], '<br>')
|
||||
|
||||
if (strlen($title)==0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user