diff --git a/doc/ota_updates/ota_updates.md b/doc/ota_updates/ota_updates.md index c620ffa093..81456f81c5 100644 --- a/doc/ota_updates/ota_updates.md +++ b/doc/ota_updates/ota_updates.md @@ -507,7 +507,7 @@ $db = array( ); if(isset($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']])) { - if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) ) { + if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) { sendFile("./bin/".$db[$_SERVER['HTTP_X_ESP8266_STA_MAC']]."bin"); } else { header($_SERVER["SERVER_PROTOCOL"].' 304 Not Modified', true, 304);