diff options
author | Camil Staps | 2016-08-01 13:48:14 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 13:53:12 +0200 |
commit | efa2936ec538c236dcec71f419ad714524c7d2b9 (patch) | |
tree | 1d7e1903851fc4c37c72cf8ee8de006979bb8b4e /nav.php | |
parent | Paypal not on by default in braintree (diff) |
Removed BusinessAdmin::get* methods, added Model::search and
Model::count
Diffstat (limited to 'nav.php')
-rw-r--r-- | nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ </a> <ul class="dropdown-menu dropdown-tasks"> <?php - $offers = BusinessAdmin::getOffers($_pdo, array("`accepted`=1", "`start_date` <= CURDATE()", "`end_date` >= CURDATE()")); + $offers = Offer::search($_pdo, ["`accepted`=1", "`start_date` <= CURDATE()", "`end_date` >= CURDATE()"]); $list = array(); foreach ($offers as $offer) { $start = BusinessAdmin::formatDate($offer->start_date, false); |