This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:16:01 +03:00
parent 1a3f089b2d
commit 1f60b08bf5
2 changed files with 4 additions and 2 deletions

View File

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