summaryrefslogtreecommitdiffstats
path: root/lib/eventsource.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-31 16:40:42 +0200
committerRobin Appelman <icewind@owncloud.com>2012-03-31 16:40:42 +0200
commit2f68b084919437013cc6d977c0f077e541cf83f9 (patch)
tree6ecbce61d781a53a844842f4c499c43837183c44 /lib/eventsource.php
parentebc7a6a0a6249213122bf97104f850d2ce6b7c1a (diff)
downloadnextcloud-server-2f68b084919437013cc6d977c0f077e541cf83f9.tar.gz
nextcloud-server-2f68b084919437013cc6d977c0f077e541cf83f9.zip
fix eventsource for ie
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r--lib/eventsource.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eventsource.php b/lib/eventsource.php
index dc28616c2dd..cf10660b94c 100644
--- a/lib/eventsource.php
+++ b/lib/eventsource.php
@@ -59,7 +59,7 @@ class OC_EventSource{
$type=null;
}
if($this->fallback){
- $response='<script type="text/javascript">window.parent.OC.EventSource.fallBackCallBack('.$this->fallBackId.',"'.$type.'","'.json_encode($data).'")</script>'.PHP_EOL;
+ $response='<script type="text/javascript">window.parent.OC.EventSource.fallBackCallBack('.$this->fallBackId.',"'.$type.'",'.json_encode($data).')</script>'.PHP_EOL;
echo $response;
}else{
if($type){