]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Reset permissions on index.php (changed in 18cca483b0b51f190bd875fc4273a0fff3fedebd ).
[github/shaarli/Shaarli.git] / index.php
index e2592045082cb5c1a573cfc9ce6027a87a128d7e..0dd5829b6ace2eeed01a83ab87dd9b80178f5fd5 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1961,6 +1961,10 @@ function buildLinkList($PAGE,$LINKSDB)
         'links' => $linkDisp,
         'tags' => $LINKSDB->allTags(),
     );
+    // FIXME! temporary fix - see #399.
+    if (!empty($GLOBALS['pagetitle']) && count($linkDisp) == 1) {
+        $data['pagetitle'] = $GLOBALS['pagetitle'];
+    }
 
     $pluginManager = PluginManager::getInstance();
     $pluginManager->executeHooks('render_linklist', $data, array('loggedin' => isLoggedIn()));