diff options
author | Tim Roes <mail@timroes.de> | 2012-04-12 23:29:24 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-04-16 19:42:49 +0200 |
commit | c8095cd786d9a27b3f7ed2d55a463ac69020fcbb (patch) | |
tree | 885edfa2cf3ec63fa2fe876d979c4fba34943c27 | |
parent | 28be31cd273e011d9c9b8ea7b7223497ec28ebd7 (diff) | |
download | rpg-c8095cd786d9a27b3f7ed2d55a463ac69020fcbb.tar.gz rpg-c8095cd786d9a27b3f7ed2d55a463ac69020fcbb.tar.bz2 |
Remote search is aware of useheading option
-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; |