Skip to content

Commit 04e54d1

Browse files
authored
indexImage only takes 1 argument (#40)
fixes #24
1 parent 9adee8c commit 04e54d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public function handleMediaUploaded(Doku_Event $event, $param): void {
338338
if(substr_compare($event->data [3], 'image/jpeg', 0)) {
339339
$indexer = plugin_load('helper', 'spatialhelper_index');
340340
if($indexer) {
341-
$indexer->indexImage($event->data [2], $event->data [1]);
341+
$indexer->indexImage($event->data [2]);
342342
}
343343
}
344344
// TODO add image/tiff

plugin.info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base spatialhelper
22
author Mark C. Prins
33
4-
date 2022-11-21
4+
date 2023-05-27
55
name Spatial Helper plugin for DokuWiki
66
desc Provides spatial indexing and spatial search facilities.
77
url https://www.dokuwiki.org/plugin:spatialhelper

0 commit comments

Comments
 (0)