mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 03:24:41 +00:00
uwuzu version 1.2.12
This commit is contained in:
@@ -56,6 +56,15 @@ if (!empty($pdo)) {
|
||||
$message['username'] = $userData['username'];
|
||||
$message['role'] = $userData['role'];
|
||||
}
|
||||
|
||||
$rpQuery = $pdo->prepare("SELECT COUNT(*) as reply_count FROM ueuse WHERE rpuniqid = :rpuniqid");
|
||||
$rpQuery->bindValue(':rpuniqid', $message['uniqid']);
|
||||
$rpQuery->execute();
|
||||
$rpData = $rpQuery->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
if ($rpData){
|
||||
$message['reply_count'] = $rpData['reply_count'];
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($messages)){
|
||||
|
||||
Reference in New Issue
Block a user