diff options
author | Guillaume Turri <guillaume.turri@gmail.com> | 2013-01-19 12:18:36 +0100 |
---|---|---|
committer | Guillaume Turri <guillaume.turri@gmail.com> | 2013-01-19 12:21:24 +0100 |
commit | 77e5adb1a4bff9e9dd43f7c10beaa235c6eb5398 (patch) | |
tree | 10881715d5fac8a6abb60a45c8d4b32570ffdcc4 | |
parent | e6c4a8221e93692572a1e78b9319a94b5ba07a0c (diff) | |
download | rpg-77e5adb1a4bff9e9dd43f7c10beaa235c6eb5398.tar.gz rpg-77e5adb1a4bff9e9dd43f7c10beaa235c6eb5398.tar.bz2 |
wiki.getAttachments returns 'perms' according to documentation
-rw-r--r-- | inc/RemoteAPICore.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php index c04a14f5c..72af65329 100644 --- a/inc/RemoteAPICore.php +++ b/inc/RemoteAPICore.php @@ -344,6 +344,8 @@ class RemoteAPICore { for($i=0; $i<$len; $i++) { unset($data[$i]['meta']); + $data[$i]['perms'] = $data[$i]['perm']; + unset($data[$i]['perm']); $data[$i]['lastModified'] = $this->api->toDate($data[$i]['mtime']); } return $data; |