diff --git a/www/cms/sites/all/modules/socialmedia/socialmedia.platforms.inc b/www/cms/sites/all/modules/socialmedia/socialmedia.platforms.inc
index 129561c..3d2e61e 100644
--- a/www/cms/sites/all/modules/socialmedia/socialmedia.platforms.inc
+++ b/www/cms/sites/all/modules/socialmedia/socialmedia.platforms.inc
@@ -95,6 +95,9 @@ function socialmedia_facebook_platform_info() {
 
 function socialmedia_facebook_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(www\.)(facebook\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -169,6 +172,9 @@ function socialmedia_flickr_platform_info() {
 
 function socialmedia_flickr_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(www\.)(flickr\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -237,6 +243,9 @@ function socialmedia_googleplus_platform_info() {
 
 function socialmedia_googleplus_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http(?:s)?:\/\/)?(plus\.)(google\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -300,6 +309,9 @@ function socialmedia_linkedin_platform_info() {
 
 function socialmedia_linkedin_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(www\.)(linkedin\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -367,6 +379,9 @@ function socialmedia_slideshare_platform_info() {
 
 function socialmedia_slideshare_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(www\.)(slideshare\.net\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -438,6 +453,9 @@ function socialmedia_twitter_platform_info() {
 
 function socialmedia_twitter_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(twitter\.com\/)(#!\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -498,6 +516,9 @@ function socialmedia_vimeo_platform_info() {
 
 function socialmedia_vimeo_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(vimeo\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
@@ -561,6 +582,9 @@ function socialmedia_youtube_platform_info() {
 
 function socialmedia_youtube_parser($values) {
   $str = $values['url'];
+  if (strlen($str) == 0) {
+    return array();
+  }
   $pattern = '/(?:http:\/\/)?(www\.)(youtube\.com\/)?(\w+)+/i';
   //$pattern = '/^http:\/\/(www\.)?twitter\.com\/(#!\/)?(?<name>[^\/]+)(/\w+)*$/';
   if (!preg_match($pattern, $str, $matches, PREG_OFFSET_CAPTURE)) {
