summaryrefslogtreecommitdiff
path: root/inc/media.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-07-31 17:30:08 +0200
committerMichael Hamann <michael@content-space.de>2013-07-31 18:05:43 +0200
commitffec100965184c6bf045f0096101768def108b43 (patch)
tree64d75b55d9d52c14647c0959e0a9d20485faad04 /inc/media.php
parent07ff0babae240ba072a3bc8b83a989c4305c24cd (diff)
downloadrpg-ffec100965184c6bf045f0096101768def108b43.tar.gz
rpg-ffec100965184c6bf045f0096101768def108b43.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 {