@@ -466,7 +466,7 @@ |
||
| 466 | 466 | $coords = sql_fetch_assoc_table($rsCoords); |
| 467 | 467 | |
| 468 | 468 | if ($coords) { |
| 469 | - $lastcoorddate = $coords[count($coords)-1]['date']; |
|
| 469 | + $lastcoorddate = $coords[count($coords) - 1]['date']; |
|
| 470 | 470 | $coords[] = [ |
| 471 | 471 | 'date' => '0000-00-00', |
| 472 | 472 | 'latitude' => $coords[count($coords) - 1]['latitude'], |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | \set_php_locale(); |
| 81 | 81 | |
| 82 | 82 | if ($this->translate->t('INTERNAL_LANG', 'all', 'OcSmarty.class.php', '') !== $sLanguage) { |
| 83 | - echo 'setlocale() failed to set language to ' . $sLanguage ."\n"; |
|
| 83 | + echo 'setlocale() failed to set language to ' . $sLanguage . "\n"; |
|
| 84 | 84 | die("Is the translation of INTERNAL_LANG correct?\n"); |
| 85 | 85 | } |
| 86 | 86 | |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | * @subpackage plugins |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -require_once __DIR__.'/../../../lib2/smiley.inc.php'; |
|
| 9 | +require_once __DIR__ . '/../../../lib2/smiley.inc.php'; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * @param $string |