Completed
Pull Request — master (#151)
by Sander
02:29
created
templates/settings-admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 		$versions = $element->getElementsByTagName("version");
17 17
 		$version = $versions->item(0)->nodeValue;
18 18
 	}
19
-	if($version) {
19
+	if ($version) {
20 20
 		$githubVersion = $version;
21 21
 	}
22 22
 	$AppInstance = new App();
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 		Github version: <?php p($githubVersion); ?><br />
31 31
 		Local version: <?php p($localVersion); ?><br />
32 32
 		<?php
33
-		if(version_compare($githubVersion, $localVersion) === 1){
33
+		if (version_compare($githubVersion, $localVersion) === 1) {
34 34
 			p($l->t('A newer version of passman is available'));
35 35
 		}
36 36
 		?>
Please login to merge, or discard this patch.
controller/internalcontroller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 * @NoCSRFRequired
106 106
 	 */
107 107
 	public function saveSettings($key, $value) {
108
-		if(is_numeric($value)){
108
+		if (is_numeric($value)) {
109 109
 			$value = intval($value);
110 110
 		}
111 111
 		$this->config->setAppValue('passman', $key, $value);
Please login to merge, or discard this patch.