removed debugging leftovers...

This commit is contained in:
fanir 2017-05-10 03:02:04 +02:00
parent f62f43d19d
commit 606aaa1f03
1 changed files with 2 additions and 3 deletions

View File

@ -143,8 +143,7 @@ function x() {
if (!$urls_only) {
$response = get_card_data($url);
if ($i > 1){
#if (isset($response["header"]["Ratelimit-Remaining"]) and $response["header"]["Ratelimit-Remaining"] === "0") {
if (isset($response["header"]["Ratelimit-Remaining"]) and $response["header"]["Ratelimit-Remaining"] === "0") {
echo "<br>Rate limit exceeded. Please try again in a few hours or use the raw result URLs.<br><br>";
$urls_only = true;
}
@ -200,7 +199,7 @@ foreach ([
<label for="query">Cards:</label>
<textarea id="query" name="query" rows="20" <?= !isset($_REQUEST['query']) ? "autofocus" : "" ?> required placeholder="M12 7
ORI 25
AER 178"><?= !empty($_REQUEST['query']) ? $_REQUEST['query'] : "M12 7\nORI 25\nAER 178" ?></textarea>
AER 178"><?= !empty($_REQUEST['query']) ? $_REQUEST['query'] : "" ?></textarea>
</div>
<div class="row">
<div></div>