aboutsummaryrefslogtreecommitdiff
path: root/include/offers.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/offers.php')
-rw-r--r--include/offers.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/offers.php b/include/offers.php
index 165d88f..22bd332 100644
--- a/include/offers.php
+++ b/include/offers.php
@@ -127,6 +127,7 @@ require('./header.php');
//------------------------------------------------------------------------------
// The header of the page
//------------------------------------------------------------------------------
+
$header = 'Offers';
// Whether or not to show an individual offer in the end (false if not, or the id if yes)
$show_individual = false;
@@ -136,7 +137,7 @@ require('./header.php');
$id = (int) $_GET['id'];
try {
$offer = new Offer($_pdo, $id);
- $header = "<a href='".Constants::url_external."offers'>Offers</a> / #{$offer->id}";
+ $header = "<a href='".Constants::url_external."offers'>Offers</a> / #<a href='".Constants::url_external."offers?id={$offer->id}'>{$offer->id}</a>";
$show_individual = $id;
$accepted = $offer->accepted ?
['Accepted', 'btn-success'] :