aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_texteditor/ajax/loadfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_texteditor/ajax/loadfile.php')
-rw-r--r--apps/files_texteditor/ajax/loadfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_texteditor/ajax/loadfile.php b/apps/files_texteditor/ajax/loadfile.php
index 64e016be8c2..8ece844aa29 100644
--- a/apps/files_texteditor/ajax/loadfile.php
+++ b/apps/files_texteditor/ajax/loadfile.php
@@ -33,7 +33,7 @@ $filename = isset($_GET['file']) ? $_GET['file'] : '';
if(!empty($filename))
{
$path = $dir.'/'.$filename;
- if(OC_Filesystem::is_writeable($path))
+ if(OC_Filesystem::is_writable($path))
{
$mtime = OC_Filesystem::filemtime($path);
$filecontents = OC_Filesystem::file_get_contents($path);