Passed
Push — master ( 81e439...32219e )
by Marcel
17:44 queued 12s
created
apps/user_ldap/lib/User/User.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -652,8 +652,7 @@
 block discarded – undo
652 652
 				$currentValue = $accountProperty->getValue();
653 653
 				$scope = ($accountProperty->getScope() ? $accountProperty->getScope()
654 654
 					: $defaultScopes[$property]);
655
-			}
656
-			catch (PropertyDoesNotExistException $e) { // thrown at getProperty
655
+			} catch (PropertyDoesNotExistException $e) { // thrown at getProperty
657 656
 				$this->logger->error('property does not exist: '.$property
658 657
 					.' for uid='.$this->uid.''
659 658
 					, ['app' => 'user_ldap', 'exception' => $e]);
Please login to merge, or discard this patch.
core/templates/404.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,13 @@
 block discarded – undo
14 14
 ?>
15 15
 <?php if (isset($_['content'])): ?>
16 16
 	<?php print_unescaped($_['content']) ?>
17
-<?php else: ?>
17
+<?php else {
18
+    : ?>
18 19
 	<div class="body-login-container update">
19 20
 		<div class="icon-big icon-search"></div>
20
-		<h2><?php p($l->t('Page not found')); ?></h2>
21
+		<h2><?php p($l->t('Page not found'));
22
+}
23
+?></h2>
21 24
 		<p class="infogroup"><?php p($l->t('The page could not be found on the server or you may not be allowed to view it.')); ?></p>
22 25
 		<p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>">
23 26
 			<?php p($l->t('Back to %s', [$theme->getName()])); ?>
Please login to merge, or discard this patch.