@@ -372,7 +372,7 @@ |
||
| 372 | 372 | * |
| 373 | 373 | * @access protected |
| 374 | 374 | * @param mixed $var The variable to test |
| 375 | - * @param mixed $default The default value to use |
|
| 375 | + * @param false|string $default The default value to use |
|
| 376 | 376 | * @return mixed The value of the variable if set, otherwise default value |
| 377 | 377 | */ |
| 378 | 378 | protected function isset_or_default($var, $default) |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function get_query($topic_id, $topic_title, $length, $sensitivity) |
| 53 | 53 | { |
| 54 | - $ts_query_text = $this->db->sql_escape(str_replace(' ', '|', $topic_title)); |
|
| 54 | + $ts_query_text = $this->db->sql_escape(str_replace(' ', '|', $topic_title)); |
|
| 55 | 55 | $ts_name = $this->db->sql_escape($this->ts_name); |
| 56 | 56 | |
| 57 | 57 | return array( |