summaryrefslogtreecommitdiff
path: root/inc/media.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-07-31 17:30:08 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-08-01 11:11:52 +0200
commite5d09fddcd17a2fe896650b64b81313a7d000975 (patch)
tree3ac7a67e64e215cd3438beeab847092153ab0d1e /inc/media.php
parent818d2283465b76931db168a9e2c72f2c0f004ecc (diff)
downloadrpg-e5d09fddcd17a2fe896650b64b81313a7d000975.tar.gz
rpg-e5d09fddcd17a2fe896650b64b81313a7d000975.tar.bz2
Index media file usage in the metadata index and use it in ft_mediause()
Diffstat (limited to 'inc/media.php')
-rw-r--r--inc/media.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php
index fbe1363ec..c76f2986c 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -178,7 +178,7 @@ function media_inuse($id) {
global $conf;
$mediareferences = array();
if($conf['refcheck']){
- $mediareferences = ft_mediause($id,$conf['refshow']);
+ $mediareferences = ft_mediause($id,true);
if(!count($mediareferences)) {
return false;
} else {