* Fixed bug #7735: EM import was broken because of empty variable
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 3 Mar 2008 16:51:33 +0000 (16:51 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Mon, 3 Mar 2008 16:51:33 +0000 (16:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3370 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 2e45355..f1ede82 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,7 @@
                - Add character set support to t3lib_install
                - Convert various blob-fields (which are non-blobs actually) to text variants (exeptions are serialized fields and fields that contain XML data)
        * Fix DB field types for static_tsconfig_help
+       * Fixed bug #7735: EM import was broken because of empty variable
 
 2008-03-03  Ingo Renner  <ingo@typo3.org>
 
index 5aaf879..b39c540 100755 (executable)
@@ -2595,6 +2595,7 @@ class t3lib_div {
                        if (isset($report))     {
                                $report['lib'] = 'file/context';
                        }
+                       $parsedURL = parse_url($url);
                        if (!preg_match('/^https?/', $parsedURL['scheme']))     {
                                if (isset($report))     {
                                        $report['error'] = -1;