@@ -297,11 +297,11 @@ discard block |
||
297 | 297 | |
298 | 298 | if($result->num_rows == 0) |
299 | 299 | { |
300 | - return FALSE; |
|
300 | + return FALSE; |
|
301 | 301 | } |
302 | 302 | else |
303 | 303 | { |
304 | - return TRUE; |
|
304 | + return TRUE; |
|
305 | 305 | } |
306 | 306 | } |
307 | 307 | |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | { |
399 | 399 | preg_match('/bot|spider|google|twitter/i', $_SERVER['HTTP_USER_AGENT'], $matches); |
400 | 400 | |
401 | - return (isset($matches[0])) ? true : false; |
|
401 | + return (isset($matches[0])) ? true : false; |
|
402 | 402 | } |
403 | 403 | |
404 | 404 | function botDeviceUidIsSet($config) |
@@ -504,7 +504,7 @@ discard block |
||
504 | 504 | <?php |
505 | 505 | if(isset($post["image_url"])) |
506 | 506 | { |
507 | - $regexRest = '/[^\w$ .!?-]+/u'; |
|
507 | + $regexRest = '/[^\w$ .!?-]+/u'; |
|
508 | 508 | |
509 | 509 | echo '<img src="' . $post["image_url"] . '" alt="' . htmlspecialchars(preg_replace($regexRest, '', $post["message"])) . '">'; |
510 | 510 | } |