@@ -471,8 +471,9 @@ |
||
471 | 471 | * for better proxy handling... |
472 | 472 | */ |
473 | 473 | public function fetchTile(string $url) { |
474 | - if($this->useTileCache && ($cached = $this->checkTileCache($url))) |
|
475 | - return $cached; |
|
474 | + if($this->useTileCache && ($cached = $this->checkTileCache($url))) { |
|
475 | + return $cached; |
|
476 | + } |
|
476 | 477 | |
477 | 478 | $_UA = 'Mozilla/4.0 (compatible; DokuWikiSpatial HTTP Client; ' . PHP_OS . ')'; |
478 | 479 | if(function_exists("curl_init")) { |