[pLog-svn] r5237 - plog/branches/lifetype-1.2/class/gallery/dao

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Sat Mar 31 01:43:32 EDT 2007


Author: pwestbro
Date: 2007-03-31 01:43:32 -0400 (Sat, 31 Mar 2007)
New Revision: 5237

Modified:
   plog/branches/lifetype-1.2/class/gallery/dao/galleryresourcestorage.class.php
Log:
Fixed uploading resources from xmlrpc


Modified: plog/branches/lifetype-1.2/class/gallery/dao/galleryresourcestorage.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/gallery/dao/galleryresourcestorage.class.php	2007-03-30 21:16:15 UTC (rev 5236)
+++ plog/branches/lifetype-1.2/class/gallery/dao/galleryresourcestorage.class.php	2007-03-31 05:43:32 UTC (rev 5237)
@@ -303,7 +303,7 @@
 			$config =& Config::getConfig();
 
 			// first of all, remove the resource file itself
-            $filePath = $this->getUserFolder( $resource->getOwnerId());
+            $filePath = $this->getUserFolder( $ownerId );
 			if( $config->getValue( "resources_naming_rule" ) == "encoded_file_name" )
 				$destFile = $ownerId."-".$resourceId.".".$fileExt;
 			else



More information about the pLog-svn mailing list