From c9e8bab6f1465fe11538aa817c7e840563d49565 Mon Sep 17 00:00:00 2001 From: Zhuk Viatcheslav Date: Fri, 20 Nov 2020 12:54:58 +0300 Subject: [PATCH] s --- app/routes/anpdf.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index 733262c..a1702f0 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -325,7 +325,10 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){ $content = apipage_kuri($price['price_id'], $page); //$price = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $content['author_id']"); - echo $content['author_id']; + foreach ($content as $news) { + $author_id = $news['author_id']; + } + echo $author_id; //print_r($content);