Kaynağa Gözat

[svn r14732] Minor - Initialised string to avoid notice.

Yannick Warnier 17 yıl önce
ebeveyn
işleme
c0a170a85d

+ 2 - 1
main/inc/lib/fckeditor/editor/filemanager/browser/default/connectors/php/io.php

@@ -52,6 +52,7 @@ function GetParentFolder( $folderPath )
 
 function CreateServerFolder( $folderPath )
 {
+	$php_errormsg = '';
 	$sParent = GetParentFolder( $folderPath ) ;
 
 	// Check if the parent exists, or create it.
@@ -76,7 +77,7 @@ function CreateServerFolder( $folderPath )
 		mkdir( $folderPath, $perm ) ;
 		umask( $oldumask ) ;
 
-		$sErrorMsg = $php_errormsg ;
+		$sErrorMsg = $php_errormsg ; //php_errormsg is filled by the result of a @'d operation
 
 		// Restore the configurations.
 		ini_restore( 'track_errors' ) ;