]> git.mxchange.org Git - friendica.git/commitdiff
fix bad embeds
authorFriendika <info@friendika.com>
Fri, 26 Aug 2011 22:21:21 +0000 (15:21 -0700)
committerFriendika <info@friendika.com>
Fri, 26 Aug 2011 22:21:21 +0000 (15:21 -0700)
boot.php
include/conversation.php

index e897f19aa12b21151bf8eb0d1f61e536da0fd8e1..41951b06b26c96c1edb1ebd947d2381b91aa764f 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
 require_once("include/pgettext.php");
 
 
-define ( 'FRIENDIKA_VERSION',      '2.2.1083' );
+define ( 'FRIENDIKA_VERSION',      '2.2.1084' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1082      );
 
index 0d901a3c06d6204eb076bf926d9cd585253393e1..3353cb2b73cd693907992d6a49159096c23bdfb4 100644 (file)
@@ -80,6 +80,9 @@ function localize_item(&$item){
 
        }
         
+       // fix bad embeds
+       $item['body'] = str_replace('http://www.youtube.com/embed/http:','http:',$item['body']);
+
 }
 
 /**