Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Print the error pages as error so we load less scripts and might be a…
…ble to view it

Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Sep 16, 2019
commit ad7d13a87ceb5d20559808cad2c63c445ee4047c
2 changes: 1 addition & 1 deletion lib/private/legacy/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public static function printAdminPage( $application, $name, $parameters = array(
* @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 );
}
Expand Down