[pLog-svn] r3210 - plog/trunk/class/file

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Apr 10 03:49:08 GMT 2006


Author: mark
Date: 2006-04-10 03:49:08 +0000 (Mon, 10 Apr 2006)
New Revision: 3210

Modified:
   plog/trunk/class/file/fileuploads.class.php
Log:
Fix bug http://bugs.lifetype.net/view.php?id=870

Modified: plog/trunk/class/file/fileuploads.class.php
===================================================================
--- plog/trunk/class/file/fileuploads.class.php	2006-04-10 03:48:55 UTC (rev 3209)
+++ plog/trunk/class/file/fileuploads.class.php	2006-04-10 03:49:08 UTC (rev 3210)
@@ -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