From bef5170b7cfeb7261f162ce1f2bcf94c6fcba7e3 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Jun 2014 22:19:20 -0400 Subject: [PATCH] More cleanup --- app/controllers/admin/LicensesController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/admin/LicensesController.php b/app/controllers/admin/LicensesController.php index 7b59f0ff82..66958655b1 100644 --- a/app/controllers/admin/LicensesController.php +++ b/app/controllers/admin/LicensesController.php @@ -223,8 +223,7 @@ class LicensesController extends AdminController { { for ($i=1; $i <= abs($difference); $i++) { //Delete the appropriate number of seats - $license->licenseseats->pop()->delete(); - echo '
  • '.$i; + $seats->pop()->delete(); } //Log the deletion of seats to the log