From 1a3f089b2dbc00ad7647838f35cd5b69e23c1003 Mon Sep 17 00:00:00 2001 From: Zhuk Viatcheslav Date: Fri, 20 Nov 2020 13:11:58 +0300 Subject: [PATCH] s --- app/routes/anpdf.php | 2 +- app/views/antext.phtml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index b8d0ad6..218b99f 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -325,7 +325,7 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){ $content['stuff'] = apipage_kuri($price['price_id'], $page); - foreach ($content as $news) { + foreach ($content['stuff'] as $news) { $author_id = $news['author_id']; } diff --git a/app/views/antext.phtml b/app/views/antext.phtml index 8545d3f..5627d0d 100644 --- a/app/views/antext.phtml +++ b/app/views/antext.phtml @@ -19,6 +19,7 @@ 0):?> +