diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-08-29 16:13:16 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-08-29 16:13:16 +0200 |
commit | 728fc7f123eeedb79f01dd1f38d469857a8e15cf (patch) | |
tree | 7ae36fcbd9a43ffb8413e136790782d4dd1bdf94 | |
parent | b7758d0f8d52b2f9653cfee549558327c00c8e01 (diff) | |
download | nextcloud-server-728fc7f123eeedb79f01dd1f38d469857a8e15cf.tar.gz nextcloud-server-728fc7f123eeedb79f01dd1f38d469857a8e15cf.zip |
fix parameter missing warning
-rwxr-xr-x | lib/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/preview.php b/lib/preview.php index 164ad10ba5f..b40ba191fba 100755 --- a/lib/preview.php +++ b/lib/preview.php @@ -570,7 +570,7 @@ class Preview { */ private static function initProviders() { if(!\OC_Config::getValue('enable_previews', true)) { - $provider = new Preview\Unknown(); + $provider = new Preview\Unknown(array()); self::$providers = array($provider->getMimeType() => $provider); return; } |