diff options
author | kondou <kondou@ts.unde.re> | 2013-07-13 18:44:36 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-13 18:44:36 +0200 |
commit | 0d604a6c9aa216fc9fec46a364a45e67fbb80d96 (patch) | |
tree | b0eb45e5c73cdc71b05deba70d723645fc6abe3a /lib | |
parent | 83b2411b81b8baf077bd3d84b8b3b00508fcdda8 (diff) | |
download | nextcloud-server-0d604a6c9aa216fc9fec46a364a45e67fbb80d96.tar.gz nextcloud-server-0d604a6c9aa216fc9fec46a364a45e67fbb80d96.zip |
Include $defaults
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.php | 2 |
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 ); |