This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:02:54 +03:00
parent dba94bfe2c
commit 8b361ffa6c

View File

@@ -328,12 +328,10 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
foreach ($content as $news) {
$author_id = $news['author_id'];
}
$authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1");
$content['authorname'] = $authorname['authorname'];
print_r($content);
if ($page > 1) {
$prevpage = $page - 1;