summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Roes <mail@timroes.de>2012-04-12 22:23:09 +0200
committerTim Roes <mail@timroes.de>2012-04-12 22:23:09 +0200
commitcffea7877fa1a5e2c46852274ae878bf73284598 (patch)
tree2e5a412f2f286fc99efa7cafe193b53e0e6da0a3
parentbed6e6e5baa092db263210240784e7e640729579 (diff)
downloadrpg-cffea7877fa1a5e2c46852274ae878bf73284598.tar.gz
rpg-cffea7877fa1a5e2c46852274ae878bf73284598.tar.bz2
Added page title to search results in Remote API
-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;