fix eventsource fallback when more then one eventsource is active

This commit is contained in:
Robin Appelman 2012-07-20 16:54:29 +02:00
parent ecf8e77dab
commit 57ed83f266
1 changed files with 1 additions and 1 deletions

View File

@ -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{