@@ -37,8 +37,8 @@ discard block |
||
37 | 37 | protected function show_ucp_complete($table) |
38 | 38 | { |
39 | 39 | $sql = 'SELECT * |
40 | - FROM ' . $table . ' |
|
41 | - WHERE user_id = ' . (int) $this->user->data['user_id'] . ' |
|
40 | + FROM ' . $table.' |
|
41 | + WHERE user_id = ' . (int) $this->user->data['user_id'].' |
|
42 | 42 | ORDER BY registration_id ASC'; |
43 | 43 | |
44 | 44 | $result = $this->db->sql_query($sql); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | protected function check_table_for_user($table, $user_id) |
68 | 68 | { |
69 | 69 | $sql = 'SELECT COUNT(registration_id) as reg_id |
70 | - FROM ' . $table . ' |
|
70 | + FROM ' . $table.' |
|
71 | 71 | WHERE |
72 | 72 | user_id = ' . (int) $user_id; |
73 | 73 | $result = $this->db->sql_query($sql); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | { |
17 | 17 | return array( |
18 | 18 | 'add_tables' => array( |
19 | - $this->table_prefix . 'tfa_otp_reg' => array( |
|
19 | + $this->table_prefix.'tfa_otp_reg' => array( |
|
20 | 20 | 'COLUMNS' => array( |
21 | 21 | 'registration_id' => array('UINT', null, 'auto_increment'), |
22 | 22 | 'user_id' => array('UINT', 0), |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | return array( |
39 | 39 | 'drop_tables' => array( |
40 | - $this->table_prefix . 'tfa_otp_registration', |
|
40 | + $this->table_prefix.'tfa_otp_registration', |
|
41 | 41 | ), |
42 | 42 | ); |
43 | 43 | } |