projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd5dd4
)
Fix uploading error if doc_group is 100
author
Alain Peyrat
<aljeux@free.fr>
Tue, 6 Mar 2012 17:58:42 +0000
(17:58 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Tue, 6 Mar 2012 17:58:42 +0000
(17:58 +0000)
src/common/docman/actions/addfile.php
patch
|
blob
|
history
diff --git
a/src/common/docman/actions/addfile.php
b/src/common/docman/actions/addfile.php
index a33098dd992d1d18070433bf4c913d32e6ac4b6f..02c64721d674ae6235c7471ccc483728e10e1dcc 100644
(file)
--- a/
src/common/docman/actions/addfile.php
+++ b/
src/common/docman/actions/addfile.php
@@
-68,7
+68,7
@@
if ($error_msg) {
session_redirect($baseurl.'&error_msg='.urlencode($error_msg));
}
-if (!$doc_group
|| $doc_group == 100
) {
+if (!$doc_group) {
//cannot add a doc unless an appropriate group is provided
$return_msg = _('No valid Directory was selected.');
session_redirect($baseurl.'&error_msg='.urlencode($return_msg));