r65979 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65978‎ | r65979 | r65980 >
Date:05:52, 6 May 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed default zoom bug for forms
Modified paths:
  • /trunk/extensions/SemanticMaps/Features/FormInputs/SM_FormInput.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/Features/FormInputs/SM_FormInput.php
@@ -212,7 +212,7 @@
213213 private function setZoom() {
214214 if ( empty( $this->coordinates ) ) {
215215 $this->zoom = $this->earthZoom;
216 - } else if ( $this->zoom == '' ) {
 216+ } else if ( $this->zoom == 'null' ) {
217217 $this->zoom = $this->defaultZoom;
218218 }
219219 }

Status & tagging log