aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-20 17:24:07 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-20 17:24:07 +0200
commitfc75993f8f0c16671023f630c2181d7509d40cb1 (patch)
treed1ce2c9ce65763790a7c24421e6b73cf492b33e2 /index.php
parent0417cbafd045b13e86c33d72f0a3fd318f97eb43 (diff)
downloadnextcloud-server-fc75993f8f0c16671023f630c2181d7509d40cb1.tar.gz
nextcloud-server-fc75993f8f0c16671023f630c2181d7509d40cb1.zip
fix wrong method name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index d2f920f4a59..cd95b0c7965 100644
--- a/index.php
+++ b/index.php
@@ -50,7 +50,7 @@ try {
OC_Template::printErrorPage($ex->getMessage(), $ex->getHint());
} catch (\OC\User\LoginException $ex) {
OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN);
- OC_Template::printErrorPage($ex->getMessage(), $ex->getHint());
+ OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage());
} catch (Exception $ex) {
\OC::$server->getLogger()->logException($ex, array('app' => 'index'));