diff --git a/main.php b/main.php index 13a3c79..a1ca471 100644 --- a/main.php +++ b/main.php @@ -2627,8 +2627,8 @@ if (input::get('edit')) { $viewInventory = []; $getItems = []; $row = []; - while ($row = $data->fetch_assoc()) showitem($row, null, "edit=1&razdel=$_SESSION[razdel]"); - + #while ($row = $data->fetch_assoc()) showitem($row, null, "edit=1&razdel=$_SESSION[razdel]"); + while ($row = $data->fetch_assoc()) showitem($row, null); if ($viewInventory and $getItems) { foreach ($viewInventory as $viewCategiryes) { echo $viewCategiryes['header'];