From ef07b71bc7972f79a7e5c1001a8c31d75b0cca68 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 2 May 2013 21:17:35 -0700 Subject: incorrect comparison operator --- mod/parse_url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/parse_url.php') 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"] == "") { -- cgit v1.2.3