diff options
-rw-r--r-- | mod/parse_url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php index 18e80ee3f..9d68b907d 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -279,7 +279,7 @@ function parse_url_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'],RED_PLATFORM . ' ')) + if( x($siteinfo,'generator') && (strpos($siteinfo['generator'],RED_PLATFORM . ' ') == 0)) $template = str_replace('url','zrl',$template); if($siteinfo["title"] == "") { |