various issues from the forums

This commit is contained in:
redmatrix
2016-01-17 16:29:32 -08:00
parent 9b3b2efe9a
commit 10ed334e8c
13 changed files with 65 additions and 32 deletions

View File

@@ -113,7 +113,7 @@ function linkinfo_content(&$a) {
// If this is a Red site, use zrl rather than url so they get zids sent to them by default
if( x($siteinfo,'generator') && (strpos($siteinfo['generator'],PLATFORM_NAME . ' ') === 0))
if( x($siteinfo,'generator') && (strpos($siteinfo['generator'], get_platform_name() . ' ') === 0))
$template = str_replace('url','zrl',$template);
if($siteinfo["title"] == "") {