mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
file_put needs to be outside the if (tnx fer hint DF2ET)
This commit is contained in:
@@ -371,10 +371,10 @@ class Qrz extends CI_Controller {
|
||||
|
||||
$content = htmlspecialchars_decode(curl_exec($ch));
|
||||
if (strlen($content)<100) {
|
||||
file_put_contents($file, $content);
|
||||
$result = "QRZ downloading failed, either due to it being down or incorrect logins.";
|
||||
return "false";
|
||||
}
|
||||
file_put_contents($file, $content);
|
||||
|
||||
ini_set('memory_limit', '-1');
|
||||
$result = $this->loadFromFile($file, $station_ids);
|
||||
|
||||
Reference in New Issue
Block a user