summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorTim Roes <mail@timroes.de>2012-04-12 22:23:09 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-04-16 19:42:49 +0200
commit28be31cd273e011d9c9b8ea7b7223497ec28ebd7 (patch)
treec5c9628d2e394764466011fa8b430a90d52bb5c9 /inc
parent50da7978b031b566117cfe95fa7341d506207766 (diff)
downloadrpg-28be31cd273e011d9c9b8ea7b7223497ec28ebd7.tar.gz
rpg-28be31cd273e011d9c9b8ea7b7223497ec28ebd7.tar.bz2
Added page title to search results in Remote API
Diffstat (limited to 'inc')
-rw-r--r--inc/RemoteAPICore.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 546832100..80deb7377 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -302,6 +302,7 @@ class RemoteAPICore {
'mtime' => filemtime($file),
'size' => filesize($file),
'snippet' => $snippet,
+ 'title' => p_get_first_heading($id)
);
}
return $pages;