From a4e79258c94a5d70204ec9ceaac1a815ba46ce2c Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Mon, 20 Jul 2020 15:19:43 +0300 Subject: [PATCH] Fatal error: Uncaught ArgumentCountError: Too few arguments to function DressedItems::__construct() --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.php b/main.php index b01b631..2752cda 100644 --- a/main.php +++ b/main.php @@ -329,7 +329,7 @@ function countmf() $sokr = db::c()->query('SELECT 1 FROM `users_effects` WHERE `type` = 202 AND `owner_id` = ?i', $_SESSION['uid'])->getNumRows(); $user = new User($_SESSION['uid']); - $userDressedItemsBonuses = new DressedItems(); + $userDressedItemsBonuses = new DressedItems($_SESSION['uid']); function GetWeaponType($idwep)