@@ -3,11 +3,9 @@ |
||
| 3 | 3 | * for license information see LICENSE.md |
| 4 | 4 | ***************************************************************************/ |
| 5 | 5 | |
| 6 | -use Oc\FieldNotes\Entity\FieldNote; |
|
| 7 | 6 | use Oc\FieldNotes\Enum\LogType as FieldNotesLogType; |
| 8 | 7 | use Oc\FieldNotes\Persistence\FieldNoteEntity; |
| 9 | 8 | use Oc\FieldNotes\Persistence\FieldNoteService; |
| 10 | -use Oc\GeoCache\Entity\GeocacheLog; |
|
| 11 | 9 | use Oc\GeoCache\Enum\GeoCacheType; |
| 12 | 10 | use Oc\GeoCache\Enum\LogType as GeoCacheLogType; |
| 13 | 11 | use Oc\GeoCache\Enum\NeedMaintenance; |
@@ -6,8 +6,6 @@ |
||
| 6 | 6 | |
| 7 | 7 | // used in both lib1 and lib2 code |
| 8 | 8 | |
| 9 | -use OcLegacy\Editor\EditorConstants; |
|
| 10 | - |
|
| 11 | 9 | require_once __DIR__ . '/smiley.inc.php'; |
| 12 | 10 | |
| 13 | 11 | |
@@ -751,8 +751,9 @@ |
||
| 751 | 751 | public function getAllCoordinatesFormatsAsArray(float $newLat = null, float $newLon = null) |
| 752 | 752 | : array |
| 753 | 753 | { |
| 754 | - if (($newLat != null) && ($newLon != null)) |
|
| 755 | - $this->setLatLon($newLat, $newLon); |
|
| 754 | + if (($newLat != null) && ($newLon != null)) { |
|
| 755 | + $this->setLatLon($newLat, $newLon); |
|
| 756 | + } |
|
| 756 | 757 | |
| 757 | 758 | return [ |
| 758 | 759 | 'coord_Decimal' => $this->getDecimal(), |