B #5559: Fix image encryption on create (#1614)

(cherry picked from commit 7f2319c67f)
This commit is contained in:
Pavel Czerný authored and Ruben S. Montero committed 2021-11-25 10:03:36 +01:00
1 parent 6f32df2037
commit f2b3ccbeed
1 file changed
+2
+2
View File
@@ -223,6 +223,8 @@ int Image::insert(SqlDB *db, string& error_str)
state = LOCKED; //LOCKED till the ImageManager copies it to the Repository
encrypt();
//--------------------------------------------------------------------------
// Insert the Image
//--------------------------------------------------------------------------