1
0
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:
daichimarukana
2023-08-27 00:17:49 +09:00
parent 4ebbb1ca82
commit 86ff1e6bc8
22 changed files with 406 additions and 78 deletions
+9
View File
@@ -70,6 +70,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)){