projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added ajax to check helper
[fa-stable.git]
/
inventory
/
manage
/
items.php
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index 199addb25f245926dabdabf3ae350fdfe038da45..967cb5e67ec56c400d1e09274d835818c7b05b9e 100644
(file)
--- 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')