aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--include/conversation.php3
2 files changed, 4 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index e897f19aa..41951b06b 100644
--- 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 );
diff --git a/include/conversation.php b/include/conversation.php
index 0d901a3c0..3353cb2b7 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -80,6 +80,9 @@ function localize_item(&$item){
}
+ // fix bad embeds
+ $item['body'] = str_replace('http://www.youtube.com/embed/http:','http:',$item['body']);
+
}
/**