Skip to content

Commit f51444f

Browse files
committed
いいねの回数制限の処理が間違っていたのを修正。アンドではなくオア。
1 parent f1ccded commit f51444f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

petitnote/clap.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static function addclap(): void
9797

9898
[$alreadyClapped, $newBits] = self::checkAndSetChecksum($bits, $userip);
9999

100-
if ($alreadyClapped && $_clap > 1000) {
100+
if ($alreadyClapped || $_clap > 1000) {
101101
closeFile($cp);
102102
header('Content-type: text/plain');
103103
echo "";

0 commit comments

Comments
 (0)