diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-18 04:36:20 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-18 04:36:20 +0300 |
commit | 5356de77e3339a52111a2cb37ecf89f6146f2a0f (patch) | |
tree | 2e6c341b0954a6357812b3e3673859f38efffecd /utility | |
parent | a5c1eb0a9b46c2463011f27a3edd58fbf4f32876 (diff) |
Only list media files we support
Diffstat (limited to 'utility')
-rw-r--r-- | utility/eventsource.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/eventsource.php b/utility/eventsource.php index 63bf1d72..d874ae7e 100644 --- a/utility/eventsource.php +++ b/utility/eventsource.php @@ -73,7 +73,7 @@ class EventSource implements \OCP\IEventSource { $type = null; } - if ($type) { + if (!empty($type)) { echo 'event: ' . $type . PHP_EOL; } echo 'data: ' . json_encode($data) . PHP_EOL; |