diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-09-23 10:08:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 10:08:58 +0200 |
commit | 48a00b88e18919232430a7f44881594da6d971da (patch) | |
tree | cb1ef1cbb073ef0065cdb8b823de04ea926823b6 /lib/private | |
parent | a26c5b218c143e303bc024ca5d31612e672391ab (diff) | |
parent | ad7d13a87ceb5d20559808cad2c63c445ee4047c (diff) | |
download | nextcloud-server-48a00b88e18919232430a7f44881594da6d971da.tar.gz nextcloud-server-48a00b88e18919232430a7f44881594da6d971da.zip |
Merge pull request #17163 from nextcloud/bugfix/noid/print-error-on-data-dir-error
Print error on data dir error
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/legacy/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php index 6d9bf7c99f4..26b1b360adc 100644 --- a/lib/private/legacy/template.php +++ b/lib/private/legacy/template.php @@ -266,7 +266,7 @@ class OC_Template extends \OC\Template\Base { * @return bool */ public static function printGuestPage( $application, $name, $parameters = array() ) { - $content = new OC_Template( $application, $name, "guest" ); + $content = new OC_Template($application, $name, $name === 'error' ? $name : 'guest'); foreach( $parameters as $key => $value ) { $content->assign( $key, $value ); } |