summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-17 01:18:02 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-17 01:18:02 +0200
commit595b13f1e03a4300beee1396333a4b4337337df5 (patch)
tree29b420298e4ec82d0c5909567edae32c9bd2e34e /lib/template.php
parent77378fa1893267bbdd6ee2f7805a34c1d5b0977b (diff)
downloadnextcloud-server-595b13f1e03a4300beee1396333a4b4337337df5.tar.gz
nextcloud-server-595b13f1e03a4300beee1396333a4b4337337df5.zip
prevent the remaining ob_clean related errors
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php
index a293e63b437..440b62003e7 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -293,7 +293,7 @@ class OC_Template{
ob_start();
include( $this->template ); // <-- we have to use include because we pass $_!
$data = ob_get_contents();
- ob_end_clean();
+ @ob_end_clean();
// return the data
return $data;
@@ -319,7 +319,7 @@ class OC_Template{
ob_start();
include( $this->path.$file.'.php' );
$data = ob_get_contents();
- ob_end_clean();
+ @ob_end_clean();
// Daten zurückgeben
return $data;