mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix change user class + medal display
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require "../include/bittorrent.php";
|
||||
|
||||
$query = \App\Models\Medal::query();
|
||||
$query = \App\Models\Medal::query()->where('display_on_medal_page', 1);
|
||||
$q = htmlspecialchars($_REQUEST['q'] ?? '');
|
||||
if (!empty($q)) {
|
||||
$query->where('username', 'name', "%{$q}%");
|
||||
|
||||
Reference in New Issue
Block a user