aboutsummaryrefslogtreecommitdiff
path: root/include/discounts-overview.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/discounts-overview.php')
-rw-r--r--include/discounts-overview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/discounts-overview.php b/include/discounts-overview.php
index 5253fd2..4bf2b6f 100644
--- a/include/discounts-overview.php
+++ b/include/discounts-overview.php
@@ -83,7 +83,7 @@ require_once('./login.php');
<select name="offerId" class="form-control">
<?php
foreach (BusinessAdmin::getOffers($_pdo) as $offer) {
- echo "<option value='{$offer->getId()}'>#{$offer->getId()} to {$offer->getContact()->name} ({$offer->getContact()->getClient()->name})</option>";
+ echo "<option value='{$offer->id}'>#{$offer->id} to {$offer->getContact()->name} ({$offer->getContact()->getClient()->name})</option>";
}
?>
</select>