[fix] Empty file saving not received

This commit is contained in:
brunosimon
2016-10-24 21:08:29 +02:00
parent b720c3337f
commit 71b5445bf6
3 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class Files
// Retrieve file
let file = this.get( normalized_path, true )
if( _content )
if( typeof _content !== 'undefined' )
{
// Create version
file.create_version( _content )