projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e5569
)
Missing function 'delete_image' when deling item. Fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 24 Jan 2022 07:57:30 +0000
(08:57 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 24 Jan 2022 07:57:30 +0000
(08:57 +0100)
inventory/manage/items.php
patch
|
blob
|
history
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index 286601efd491e32abf835c7af3c3a21f5686d293..d4904041b2e0c3752f2d5fdf1c1a9e7bc5345ab2 100644
(file)
--- a/
inventory/manage/items.php
+++ b/
inventory/manage/items.php
@@
-56,7
+56,7
@@
function set_edit($stock_id)
$_POST['del_image'] = 0;
}
-function del_image($stock_id)
+function del
ete
_image($stock_id)
{
foreach (array('jpg', 'png', 'gif') as $ext) {
$filename = company_path().'/images/'.item_img_name($stock_id).".".$ext;