From c11f0dafd0f3708b3cd42d04b23500ed5983ee48 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 24 Oct 2020 22:16:18 +0100 Subject: [PATCH] format --- core/imageboard/image.php | 4 +++- ext/danbooru_api/main.php | 21 +++++++++++++++++---- ext/pools/main.php | 3 ++- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 1476c70a..eab9e5d6 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -86,7 +86,9 @@ class Image { if (!is_null($row)) { foreach ($row as $name => $value) { - if(is_numeric($name)) continue; + if (is_numeric($name)) { + continue; + } // some databases use table.name rather than name $name = str_replace("images.", "", $name); diff --git a/ext/danbooru_api/main.php b/ext/danbooru_api/main.php index 51541a53..66e28f10 100644 --- a/ext/danbooru_api/main.php +++ b/ext/danbooru_api/main.php @@ -1,10 +1,23 @@