Completed
Push — 1.2 ( d2001b...d993e9 )
by Daniel
02:12
created
code/GoogleMapField.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 				'mapTypeId' => 'ROADMAP',
60 60
 			),
61 61
 		);
62
-		if(!$this->options['showSearchBox']){
62
+		if(!$this->options['showSearchBox']) {
63 63
 			$this->children->removeByName("Search");
64 64
 		}
65 65
 		$jsOptions = array_replace_recursive($jsOptions, $this->options);
@@ -107,7 +107,9 @@  discard block
 block discarded – undo
107 107
 	public function getOption($name) {
108 108
 		// Quicker execution path for "."-free names
109 109
 		if (strpos($name, '.') === false) {
110
-			if (isset($this->options[$name])) return $this->options[$name];
110
+			if (isset($this->options[$name])) {
111
+				return $this->options[$name];
112
+			}
111 113
 		} else {
112 114
 			$names = explode('.', $name);
113 115
 
Please login to merge, or discard this patch.