summaryrefslogtreecommitdiff
path: root/inc/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/search.php')
-rw-r--r--inc/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php
index 9e0964404..322c53e25 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -199,7 +199,7 @@ function search_media(&$data,$base,$file,$type,$lvl,$opts){
$info['isimg'] = false;
}
if($opts['hash']){
- $info['hash'] = md5(io_readFile(wikiFN($info['id']),false));
+ $info['hash'] = md5(io_readFile(mediaFN($info['id']),false));
}
$data[] = $info;