diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 10:23:20 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 10:23:20 +0000 |
commit | 142790c977654befcefbb5a3ef0b39414e820d24 (patch) | |
tree | 5571ef80a33e9a50ef7415bf247cf62aec6a86a0 /engine/lib/database.php | |
parent | 1044828301f9e76bbd022ae48e8b6d163cea6318 (diff) | |
download | elgg-142790c977654befcefbb5a3ef0b39414e820d24.tar.gz elgg-142790c977654befcefbb5a3ef0b39414e820d24.tar.bz2 |
Marcus Povey: CLOSED - # 9: FilePluginFile not found
http://trac.elgg.org/ticket/9
git-svn-id: https://code.elgg.org/elgg/trunk@908 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index 62fa15877..d3113e202 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -148,7 +148,7 @@ if (!empty($callback) && is_callable($callback)) {
$row = $callback($row);
}
- $resultarray[] = $row;
+ if ($row) $resultarray[] = $row;
}
}
|