X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitems.php;h=967cb5e67ec56c400d1e09274d835818c7b05b9e;hb=412b79dc32855f813d03a8a6dd9debd45bb308f5;hp=199addb25f245926dabdabf3ae350fdfe038da45;hpb=6183e9450dcd7e4c747889c10903f6ff1b0add33;p=fa-stable.git diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 199addb2..967cb5e6 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -44,7 +44,7 @@ if (isset($_FILES['pic']) && $_FILES['pic']['name'] != '') { mkdir($filename); } - $filename .= "$stock_id.jpg"; + $filename .= "/$stock_id.jpg"; //But check for the worst if (strtoupper(substr(trim($_FILES['pic']['name']), strlen($_FILES['pic']['name']) - 3)) != 'JPG')