This commit is contained in:
Zhuk Viatcheslav
2020-11-20 12:57:04 +03:00
parent cfd649b1bb
commit c3885778cd

View File

@@ -327,7 +327,7 @@ 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");
$authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1");
echo $authorname;
//print_r($content);