mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Result of && if not the part
This commit is contained in:
parent
5b60fad467
commit
11f28d7880
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class OC_Template{
|
|||
$this->renderas = $renderas;
|
||||
$this->application = $app;
|
||||
$this->vars = array();
|
||||
$this->vars['requesttoken'] = OC::$session && OC_Util::callRegister();
|
||||
$this->vars['requesttoken'] = OC::$session ? OC_Util::callRegister() : '';
|
||||
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
|
||||
$this->l10n = OC_L10N::get($parts[0]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue