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
Merged from 4.7: More PHP notice fixes
[fusionforge/fusionforge.git]
/
gforge
/
common
/
tracker
/
ArtifactFactory.class.php
diff --git
a/gforge/common/tracker/ArtifactFactory.class.php
b/gforge/common/tracker/ArtifactFactory.class.php
index bb16940a3c414c8f6ef1c89930cd3bf7462f709d..aa18b01a4e6fecfea81a306102f4bbb7ec379b2f 100644
(file)
--- a/
gforge/common/tracker/ArtifactFactory.class.php
+++ b/
gforge/common/tracker/ArtifactFactory.class.php
@@
-223,7
+223,7
@@
class ArtifactFactory extends Error {
if (is_null($max_rows) || $max_rows < 0) {
$max_rows=50;
}
- if (
$default_query
) {
+ if (
isset ($default_query)
) {
$this->max_rows=0;
} else {
$this->max_rows=$max_rows;