diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 034488c011e0bcca5c85ee9fd7e5d1c3109ad32e..3a53425e4361817879a8c33e023028b4ec0e73b6 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -1518,11 +1518,15 @@ bool move_item_to_marketplacelistings(LLInventoryItem* inv_item, LLUUID dest_fol
                                                                              callback_dest_create);
                                             });
             }
-            if (depth == 1)
+            else if (depth == 1)
             {
                 // We need a version folder
                 gInventory.createNewCategory(dest_folder, LLFolderType::FT_NONE, viewer_inv_item->getName(), callback_dest_create);
             }
+            else
+            {
+                callback_dest_create(dest_folder);
+            }
         }
         else
         {