From 1a19776abd5a9e8d28ad1d5550e6974249f6aa49 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sun, 1 Jul 2018 15:41:57 +0530 Subject: [PATCH] Small fix. --- webhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);