diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-07-22 21:02:56 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-07-23 14:57:58 +0300 |
commit | ab997bdc68042fa292877e17bb991d79cbed0738 (patch) | |
tree | 95ca364508ea119420009e4a7e17955768d5549e /core | |
parent | 5160ea60639d58a054359834d7ac6e82096c4d57 (diff) | |
download | nextcloud-server-ab997bdc68042fa292877e17bb991d79cbed0738.tar.gz nextcloud-server-ab997bdc68042fa292877e17bb991d79cbed0738.zip |
Create an array entry before filling it
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js index 71e6136bf71..e59669cbc2b 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -92,6 +92,7 @@ OC.Share={ } } if (shares) { + OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {}; OC.Share.statuses[itemSource]['link'] = link; } else { delete OC.Share.statuses[itemSource]; |