summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-07-13 18:44:36 +0200
committerkondou <kondou@ts.unde.re>2013-07-13 18:44:36 +0200
commit0d604a6c9aa216fc9fec46a364a45e67fbb80d96 (patch)
treeb0eb45e5c73cdc71b05deba70d723645fc6abe3a /lib
parent83b2411b81b8baf077bd3d84b8b3b00508fcdda8 (diff)
downloadnextcloud-server-0d604a6c9aa216fc9fec46a364a45e67fbb80d96.tar.gz
nextcloud-server-0d604a6c9aa216fc9fec46a364a45e67fbb80d96.zip
Include $defaults
Diffstat (limited to 'lib')
-rw-r--r--lib/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/template.php b/lib/template.php
index ae9ea187445..2a28f3d5c62 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -441,6 +441,7 @@ class OC_Template{
// Register the variables
$_ = $this->vars;
$l = $this->l10n;
+ $defaults = new \OC_Defaults;
// Execute the template
ob_start();
@@ -462,6 +463,7 @@ class OC_Template{
public function inc( $file, $additionalparams = null ) {
$_ = $this->vars;
$l = $this->l10n;
+ $defaults = new \OC_Defaults;
if( !is_null($additionalparams)) {
$_ = array_merge( $additionalparams, $this->vars );