? lock_file_status.patch
Index: class_media_mover_file.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/media_mover/Attic/class_media_mover_file.php,v
retrieving revision 1.1.2.28
diff -u -p -r1.1.2.28 class_media_mover_file.php
--- class_media_mover_file.php	25 Jul 2010 14:25:59 -0000	1.1.2.28
+++ class_media_mover_file.php	16 Aug 2010 15:32:34 -0000
@@ -143,7 +143,7 @@ class media_mover_file {
     if ($result == MMA_FILE_STATUS_READY ) {
       $this->status = MMA_FILE_STATUS_LOCKED;
       // Set status to locked and time stamp when the file was locked
-      db_query("UPDATE {media_mover_files} SET status = %d, lock_date = %d WHERE mmfid = %d", $this->status, time(), $this->mmfid);
+      db_query("UPDATE {media_mover_files} SET status = '%s', lock_date = %d WHERE mmfid = %d", $this->status, time(), $this->mmfid);
       db_unlock_tables();
       return TRUE;
     }
