浏览代码

Adding forgotten bracket

Fixing forgotten bracket
Chris Hallgren 11 年之前
父节点
当前提交
bab8ac40b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Model/Behavior/GeocoderBehavior.php

+ 1 - 1
Model/Behavior/GeocoderBehavior.php

@@ -338,7 +338,7 @@ class GeocoderBehavior extends ModelBehavior {
 			'host' => $options['host']
 			'host' => $options['host']
 		);
 		);
 		$this->Geocode = new GeocodeLib($geocodeOptions);
 		$this->Geocode = new GeocodeLib($geocodeOptions);
-		if (isset($options['params'] && is_array($options['params'])) {
+		if (isset($options['params']) && is_array($options['params'])) {
 			foreach ($options['params'] as $v) {
 			foreach ($options['params'] as $v) {
 			    $this->Geocode->setParams($v);
 			    $this->Geocode->setParams($v);
 			}
 			}