This commit is contained in:
flash 2023-02-02 20:07:59 +00:00
parent 4fa2520f97
commit 9812d66312

View file

@ -63,9 +63,6 @@ if($randomSource)
elseif(!in_array($booru, BOORUS))
die('{"error":"booru"}');
if($booru === 'danbooru' && $randomSource)
$booru = BOORUS[1 + (array_rand(BOORUS) - 1)];
if(!array_key_exists($booru, BOORU_INFOS))
die('{"error":"booru-info"}');