[pLog-svn] r5204 - plog/branches/lifetype-1.2

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Mar 27 17:07:37 EDT 2007


Author: mark
Date: 2007-03-27 17:07:37 -0400 (Tue, 27 Mar 2007)
New Revision: 5204

Modified:
   plog/branches/lifetype-1.2/wizard.php
Log:
Revert the change of 5203. It fixed the wrong line.

Modified: plog/branches/lifetype-1.2/wizard.php
===================================================================
--- plog/branches/lifetype-1.2/wizard.php	2007-03-27 20:28:23 UTC (rev 5203)
+++ plog/branches/lifetype-1.2/wizard.php	2007-03-27 21:07:37 UTC (rev 5204)
@@ -1772,7 +1772,7 @@
 				
 				// get the file extension
 				if(( $extPos = strrpos( $row["file_name"], "." )) !== false ) {					
-					$fileExt = strtolower( substr( $row["file_name"], $extPos+1, strlen( $row["file_name"] )));
+					$fileExt = substr( $row["file_name"], $extPos+1, strlen( $row["file_name"] ));
 				}
 				else {
 					$fileExt = "";
@@ -1797,7 +1797,7 @@
 				if( $row["resource_type"] == "1" ) {
 					// calculate the extension of the preview file, depending on how it was saved
 					if( $row["thumbnail_format"] == "same" ) {
-						$previewExt = $fileExt;
+						$previewExt = strtolower( $fileExt );
 						$destFileName = $row["file_name"];
 					}
 					else {



More information about the pLog-svn mailing list