This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/MediaBrowserUpload.inc b/includes/MediaBrowserUpload.inc | |
index 194c109..65e9977 100644 | |
--- a/includes/MediaBrowserUpload.inc | |
+++ b/includes/MediaBrowserUpload.inc | |
@@ -15,7 +15,7 @@ class MediaBrowserUpload extends MediaBrowserPlugin { | |
* Implements MediaBrowserPluginInterface::access(). | |
*/ | |
public function access($account = NULL) { | |
- return file_entity_access('create', $account); | |
+ return file_entity_access('create', NULL, $account); |
OlderNewer