diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/filestore.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php index 0c8e5f121..603293413 100644 --- a/engine/lib/filestore.php +++ b/engine/lib/filestore.php @@ -511,7 +511,8 @@ // If filestore meta set then retrieve filestore TODO: Better way of doing this? $metas = get_metadata_for_entity($this->guid); - $parameters = array(); + $parameters = array();
+ if (is_array($metas)) foreach ($metas as $meta) { if (strpos($meta->name, "filestore::")!==false) |