summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-08-09 14:27:20 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-08-09 16:45:25 +0200
commit8c1e75e0520d0efe51b615952329b1980d21f8b6 (patch)
tree68e85271ba02bdadd28350da76b70f23f93ba532 /core/templates
parent88603e98f89de716eedb6b1c94e0bc1f3366db3c (diff)
downloadnextcloud-server-8c1e75e0520d0efe51b615952329b1980d21f8b6.tar.gz
nextcloud-server-8c1e75e0520d0efe51b615952329b1980d21f8b6.zip
Do not use file as template parameter
Using file will overwrite the $file parameter in the template base. Leading to trying to include a file that is the exception message. Which will of course fail. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/403.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/403.php b/core/templates/403.php
index e053fad764a..72d5d3e4ae6 100644
--- a/core/templates/403.php
+++ b/core/templates/403.php
@@ -12,6 +12,6 @@ if(!isset($_)) {//standalone page is not supported anymore - redirect to /
<ul>
<li class='error'>
<?php p($l->t( 'Access forbidden' )); ?><br>
- <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
+ <p class='hint'><?php if(isset($_['message'])) p($_['message'])?></p>
</li>
</ul>