diff --git a/src/actions/towns.php b/src/actions/towns.php
index 0be19ce..9e80384 100644
--- a/src/actions/towns.php
+++ b/src/actions/towns.php
@@ -342,7 +342,7 @@ function buy_map(int $id): string
$page = <<
- You may return to town, store, or use the direction buttons on the left to start exploring.
+ You may return to town, map shop, or use the direction buttons on the left to start exploring.
HTML;
} elseif (is_post() && !$_POST['buy']) {
redirect('/maps');
diff --git a/src/lib.php b/src/lib.php
index 0e52ed6..fa96bc7 100644
--- a/src/lib.php
+++ b/src/lib.php
@@ -564,7 +564,7 @@ function is_htmx(): bool
*/
function is_post(): bool
{
- return is_post();
+ return $_SERVER['REQUEST_METHOD'] === 'POST';
}
/**