aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/error.php')
-rw-r--r--core/templates/error.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/templates/error.php b/core/templates/error.php
index 2e5488ae8db..ac9bd34d558 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -1,7 +1,14 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<div class="guest-box">
<h2><?php p($l->t('Error')) ?></h2>
<ul>
- <?php foreach ($_["errors"] as $error):?>
+ <?php foreach ($_['errors'] as $error):?>
<li>
<p><?php p($error['error']) ?></p>
<?php if (isset($error['hint']) && $error['hint']): ?>