diff --git a/webhook.php b/webhook.php index 41f3ab7..0b25c30 100644 --- a/webhook.php +++ b/webhook.php @@ -78,7 +78,7 @@ function add_requirement() { $item_name .= " "; } } - $quantity = $command_list[count(command_list) - 1]; + $quantity = $command_list[count($command_list) - 1]; $mysql = require('mysql_credentials.php'); $conn = new mysqli($mysql['servername'], $mysql['username'], $mysql['password'], $mysql['database']);