Commentaires obligés sur les POIs

This commit is contained in:
leosw
2026-01-20 21:53:09 +01:00
parent c96aca2bf4
commit 4eef5c1028
2 changed files with 2 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ switch ($controller->splitted_url[1]) {
$poi->ele = $_POST['ele'];
$poi->author = $user->id;
$poi->source = "kab";
$poi->is_commentable = isset($_POST['is_commentable']) ? 't' : 'f';
$poi->is_commentable = 't';
$definition = $poi_types[$poi->poi_type][5];
$params = [];
@@ -148,9 +148,7 @@ switch ($controller->splitted_url[1]) {
$poi->lat = $_POST['lat'];
$poi->lon = $_POST['lon'];
$poi->ele = $_POST['ele'];
$poi->author = $user->id;
$poi->source = "kab";
$poi->is_commentable = isset($_POST['is_commentable']) ? 't' : 'f';
$poi->is_commentable = 't';
$definition = $poi_types[$poi->poi_type][5];
$params = [];