Skip to content
Snippets Groups Projects
Commit 57ed83f2 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix eventsource fallback when more then one eventsource is active

parent ecf8e77d
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class OC_EventSource{
header('Cache-Control: no-cache');
$this->fallback=isset($_GET['fallback']) and $_GET['fallback']=='true';
if($this->fallback){
$fallBackId=$_GET['fallback_id'];
$this->fallBackId=$_GET['fallback_id'];
header("Content-Type: text/html");
echo str_repeat('<span></span>'.PHP_EOL,10); //dummy data to keep IE happy
}else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment