@@ -13,8 +13,8 @@ |
||
13 | 13 | class custom_block_text extends \phpbb\textreparser\row_based_plugin |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritdoc} |
|
17 | - */ |
|
16 | + * {@inheritdoc} |
|
17 | + */ |
|
18 | 18 | public function get_columns() |
19 | 19 | { |
20 | 20 | return array( |
@@ -45,7 +45,7 @@ |
||
45 | 45 | 'settings' => $settings, |
46 | 46 | 'hash' => md5($settings), |
47 | 47 | ); |
48 | - $this->db->sql_query('UPDATE ' . $this->table_prefix . 'sm_blocks SET ' . $this->db->sql_build_array('UPDATE', $sql_data) .' WHERE bid = ' . (int) $row['bid']); |
|
48 | + $this->db->sql_query('UPDATE ' . $this->table_prefix . 'sm_blocks SET ' . $this->db->sql_build_array('UPDATE', $sql_data) . ' WHERE bid = ' . (int) $row['bid']); |
|
49 | 49 | } |
50 | 50 | $this->db->sql_freeresult($result); |
51 | 51 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | return !$this->db_tools->sql_column_exists($this->table_prefix . 'modules', 'module_dir'); |
25 | 25 | } |
26 | - */ |
|
26 | + */ |
|
27 | 27 | |
28 | 28 | public function update_data() |
29 | 29 | { |