projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf19648
)
ImageUpload: nur mime-type image/* akzeptieren
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 14 May 2021 16:48:01 +0000
(18:48 +0200)
committer
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 25 Jun 2021 13:51:32 +0000
(15:51 +0200)
SL/Controller/ImageUpload.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/ImageUpload.pm
b/SL/Controller/ImageUpload.pm
index
952522a
..
18561e0
100644
(file)
--- a/
SL/Controller/ImageUpload.pm
+++ b/
SL/Controller/ImageUpload.pm
@@
-49,6
+49,10
@@
sub action_resolve_object_by_number {
################# internal ###############
+sub accept_types {
+ "image/*"
+}
+
sub init_object_type {
$::form->{object_type} or die "need object type"
}