diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-02-05 18:26:01 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-02-05 18:26:01 +0100 |
commit | 6dae24649385a033eba917a2189a3fec273bbf35 (patch) | |
tree | 53828f9d63add65815711c73bc26f1d15c151df1 | |
parent | b9c4302b4c3beff2b77cbb858d0133d09a93bf63 (diff) | |
download | rpg-6dae24649385a033eba917a2189a3fec273bbf35.tar.gz rpg-6dae24649385a033eba917a2189a3fec273bbf35.tar.bz2 |
fixed media deletion when reference check is enabled FS#1582
Ignore-this: 7b8e3c664077e5069f00a0a10a6a7ad4
darcs-hash:20090205172601-7ad00-ca3ec217a6b19d310c608c2e69b33572f56c281b.gz
-rw-r--r-- | inc/media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php index c932a07d4..ac0f887c0 100644 --- a/inc/media.php +++ b/inc/media.php @@ -155,7 +155,7 @@ function media_inuse($id) { require_once(DOKU_INC.'inc/fulltext.php'); $mediareferences = ft_mediause($id,$conf['refshow']); if(!count($mediareferences)) { - return true; + return false; } else { return $mediareferences; } |