diff options
author | Florian Hülsmann <fh@cbix.de> | 2012-03-25 07:53:20 +0400 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2012-03-25 07:53:20 +0400 |
commit | 735dfa8df17a3859311178ffe547a402bf3f4f1b (patch) | |
tree | d15223f79b9cd267dac675d5658cffb182f79a4f /files_svgedit | |
parent | ed1f64f32f35322b6144c49353fe4e03a5a35212 (diff) |
error message for saving modified file
Diffstat (limited to 'files_svgedit')
-rw-r--r-- | files_svgedit/ajax/save.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files_svgedit/ajax/save.php b/files_svgedit/ajax/save.php index 9ac0a5b26..c370c4e1b 100644 --- a/files_svgedit/ajax/save.php +++ b/files_svgedit/ajax/save.php @@ -24,7 +24,7 @@ if($path != '' && $mtime != '') { $filemtime = OC_Filesystem::filemtime($path); if($mtime != $filemtime) { // Then the file has changed since opening - OC_JSON::error(); + OC_JSON::error(array("data" => array("message" => "File has been modified since opening!"))); OC_Log::write('files_svgedit',"File: ".$path." modified since opening.",OC_Log::ERROR); } } else { |