mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Apply fixes from StyleCI (#1139)
This commit is contained in:
parent
3dedb7e33d
commit
cfb80987d4
1 changed files with 4 additions and 3 deletions
|
@ -528,13 +528,14 @@ class Ajax
|
|||
{
|
||||
global $bb_cfg, $lang, $userdata;
|
||||
|
||||
if (!$bb_cfg['tor_thank']) $this->ajax_die($lang['DISABLED']);
|
||||
if (!$bb_cfg['tor_thank']) {
|
||||
$this->ajax_die($lang['DISABLED']);
|
||||
}
|
||||
|
||||
$mode = (string) $this->request['mode'];
|
||||
$topic_id = (int) $this->request['topic_id'];
|
||||
|
||||
switch($mode)
|
||||
{
|
||||
switch($mode) {
|
||||
case 'add':
|
||||
$row = DB()->fetch_row('SELECT * FROM '. BB_THX ." WHERE topic_id = $topic_id AND user_id = ". $userdata['user_id']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue