[pLog-svn] r3209 - plog/branches/lifetype-1.0.4/class/file

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Apr 10 03:48:56 GMT 2006


Author: mark
Date: 2006-04-10 03:48:55 +0000 (Mon, 10 Apr 2006)
New Revision: 3209

Modified:
   plog/branches/lifetype-1.0.4/class/file/fileuploads.class.php
Log:
fix bug http://bugs.lifetype.net/view.php?id=870

Modified: plog/branches/lifetype-1.0.4/class/file/fileuploads.class.php
===================================================================
--- plog/branches/lifetype-1.0.4/class/file/fileuploads.class.php	2006-04-08 12:03:49 UTC (rev 3208)
+++ plog/branches/lifetype-1.0.4/class/file/fileuploads.class.php	2006-04-10 03:48:55 UTC (rev 3209)
@@ -47,7 +47,7 @@
             	return FILE_UPLOADS_NOT_ENABLED;
             }
 			
-            if( $destinationFolder[strlen($destinationFolder-1)] != "/" )
+            if( $destinationFolder[strlen($destinationFolder)-1] != "/" )
             	$destinationFolder .= "/";
 				
 			//use basename of tmp_name istead of filename



More information about the pLog-svn mailing list