projects
/
fusionforge
/
fusionforge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup and make docman code relocatable
[fusionforge/fusionforge.git]
/
gforge
/
common
/
docman
/
DocumentFactory.class.php
diff --git
a/gforge/common/docman/DocumentFactory.class.php
b/gforge/common/docman/DocumentFactory.class.php
index 477ad628d7def0ffbf7074d3a5853e720d7835c5..d3bc0357dc040b847213ff72d7011e330f0e90bf 100644
(file)
--- a/
gforge/common/docman/DocumentFactory.class.php
+++ b/
gforge/common/docman/DocumentFactory.class.php
@@
-258,7
+258,7
@@
class DocumentFactory extends Error {
while ($arr =& db_fetch_array($result)) {
$doc_group_id = $arr['doc_group'];
while ($arr =& db_fetch_array($result)) {
$doc_group_id = $arr['doc_group'];
- if (!is_array($this->Documents[$doc_group_id])) {
+ if (!is_array(
@
$this->Documents[$doc_group_id])) {
$this->Documents[$doc_group_id] = array();
}
$this->Documents[$doc_group_id] = array();
}