diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1938,6 +1938,12 @@ function buildLinkList($PAGE,$LINKSDB) | |||
1938 | $taglist = explode(' ',$link['tags']); | 1938 | $taglist = explode(' ',$link['tags']); |
1939 | uasort($taglist, 'strcasecmp'); | 1939 | uasort($taglist, 'strcasecmp'); |
1940 | $link['taglist']=$taglist; | 1940 | $link['taglist']=$taglist; |
1941 | |||
1942 | if ($link["url"][0] === '?' && // Check for both signs of a note: starting with ? and 7 chars long. I doubt that you'll post any links that look like this. | ||
1943 | strlen($link["url"]) === 7) { | ||
1944 | $link["url"] = indexUrl() . $link["url"]; | ||
1945 | } | ||
1946 | |||
1941 | $linkDisp[$keys[$i]] = $link; | 1947 | $linkDisp[$keys[$i]] = $link; |
1942 | $i++; | 1948 | $i++; |
1943 | } | 1949 | } |