diff options
author | Tim Roes <mail@timroes.de> | 2012-04-12 23:29:24 +0200 |
---|---|---|
committer | Tim Roes <mail@timroes.de> | 2012-04-12 23:29:24 +0200 |
commit | 5529fa3167d83c7fd8ab03d077c2b46163b20c24 (patch) | |
tree | 0faa6cb49a92a48fdaf81b187fe2075bb4ff8917 /inc | |
parent | cffea7877fa1a5e2c46852274ae878bf73284598 (diff) | |
download | rpg-5529fa3167d83c7fd8ab03d077c2b46163b20c24.tar.gz rpg-5529fa3167d83c7fd8ab03d077c2b46163b20c24.tar.bz2 |
Remote search is aware of useheading option
Diffstat (limited to 'inc')
-rw-r--r-- | inc/RemoteAPICore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php index 80deb7377..9da493210 100644 --- a/inc/RemoteAPICore.php +++ b/inc/RemoteAPICore.php @@ -302,7 +302,7 @@ class RemoteAPICore { 'mtime' => filemtime($file), 'size' => filesize($file), 'snippet' => $snippet, - 'title' => p_get_first_heading($id) + 'title' => useHeading('navigation') ? p_get_first_heading($id) : $id ); } return $pages; |