summaryrefslogtreecommitdiffstats
path: root/lbu-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lbu-controller.lua')
-rw-r--r--lbu-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu-controller.lua b/lbu-controller.lua
index 304b0ac..6bca902 100644
--- a/lbu-controller.lua
+++ b/lbu-controller.lua
@@ -183,7 +183,7 @@ function commit(self)
url = url, } )
end
expert = function (self)
- local modifications = self.clientdata.modifications or ""
+ local modifications = self.clientdata.filecontent or ""
if ( self.clientdata.cmdsave) then
modifications = self.model:update_filecontent(modifications)
end