diff options
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r-- | lib/eventsource.php | 2 |
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){ |