diff --git a/mod/parse_url.php b/mod/parse_url.php index 9d68b907d..783390f27 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 . ' ') == 0)) + if( x($siteinfo,'generator') && (strpos($siteinfo['generator'],RED_PLATFORM . ' ') === 0)) $template = str_replace('url','zrl',$template); if($siteinfo["title"] == "") {