mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 21:54:48 -04:00
Fixup for other MYSQL versions
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ class Service
|
||||
{
|
||||
global $mysqli;
|
||||
$name = $_POST['service'];
|
||||
$stmt = $mysqli->prepare("INSERT INTO services VALUES('',?)");
|
||||
$stmt = $mysqli->prepare("INSERT INTO services VALUES(NULL,?)");
|
||||
$stmt->bind_param("s", $name);
|
||||
$stmt->execute();
|
||||
$query = $stmt->get_result();
|
||||
|
||||
Reference in New Issue
Block a user