diff --git a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/translations/uc_discounts.pot b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/translations/uc_discounts.pot
index 3aa84fa..0d5d916 100644
--- a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/translations/uc_discounts.pot
+++ b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/translations/uc_discounts.pot
@@ -258,11 +258,11 @@ msgid "Date and time when the discount expires."
 msgstr ""
 
 #: uc_discounts.admin.inc:457
-msgid "Is published"
+msgid "Is active"
 msgstr ""
 
 #: uc_discounts.admin.inc:458 uc_discounts.install:142
-msgid "Convenience flag to state whether code is published on site or not."
+msgid "Convenience flag to state whether code is active on site or not."
 msgstr ""
 
 #: uc_discounts.admin.inc:469
diff --git a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.admin.inc b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.admin.inc
index 588755b..5a6c211 100644
--- a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.admin.inc
+++ b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.admin.inc
@@ -12,6 +12,7 @@
  */
 function uc_discounts_admin_settings() {
   $header = array(
+    array("data" => t("Active"), "field" => "active"),
     array("data" => t("Name"), "field" => "name"),
     array("data" => t("Short Description"), "field" => "short_description"),
     array("data" => t("Qualifying Type"), "field" => "qualifying_type"),
@@ -32,6 +33,7 @@ function uc_discounts_admin_settings() {
     $rows[] = array("data" =>
       //Cell data
       array(
+        $discount->is_active,
         $discount->name,
         $discount->short_description,
         qualifying_type_name($discount->qualifying_type),
@@ -581,12 +583,12 @@ function uc_discounts_form($form_state, $discount_id = 0) {
     "#suffix" => "</div>",
   );
 
-  $is_published = isset($form_state["values"]["is_published"]) ? $form_state["values"]["is_published"] : IS_PUBLISHED_DEFAULT;
-  $form["is_published"] = array(
+  $is_active = isset($form_state["values"]["is_active"]) ? $form_state["values"]["is_active"] : IS_ACTIVE_DEFAULT;
+  $form["is_active"] = array(
     "#type" => "checkbox",
-    "#title" => t("Is published"),
-    "#description" => t("Convenience flag to state whether code is published on site or not."),
-    "#default_value" => $is_published,
+    "#title" => t("Is active"),
+    "#description" => t("Convenience flag to state whether code is active on site or not."),
+    "#default_value" => $is_active,
   );
 
 
@@ -760,7 +762,7 @@ function uc_discounts_form_submit($form, &$form_state) {
         $form_state["values"]["max_uses_per_code"],
         $form_state["values"]["has_expiration"],
         $expiration,
-        $form_state["values"]["is_published"],
+        $form_state["values"]["is_active"],
         $form_state["values"]["weight"]
       );
 
@@ -792,7 +794,7 @@ function uc_discounts_form_submit($form, &$form_state) {
         $form_state["values"]["max_uses_per_code"],
         $form_state["values"]["has_expiration"],
         $expiration,
-        $form_state["values"]["is_published"],
+        $form_state["values"]["is_active"],
         $form_state["values"]["weight"]
       );
 
@@ -902,7 +904,7 @@ function uc_discounts_copy($original_discount_id) {
     $discount->max_uses_per_code,
     $discount->has_expiration,
     $discount->expiration,
-    $discount->is_published,
+    $discount->is_active,
     $discount->weight
   );
 
diff --git a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.install b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.install
index d7453e3..cfa12ce 100644
--- a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.install
+++ b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.install
@@ -145,12 +145,12 @@ function uc_discounts_schema() {
         "default" => 0,
         "description" => t("The exipration date and time as a unix timestamp."),
       ),
-      "is_published" => array(
+      "is_active" => array(
         "type" => "int",
         "size" => "tiny",
         "not null" => FALSE,
         "default" => 0,
-        "description" => t("Convenience flag to state whether code is published on site or not."),
+        "description" => t("Convenience flag to state whether code is active on site or not."),
       ),
       "weight" => array(
         "type" => "int",
@@ -554,3 +554,9 @@ function uc_discounts_update_6() {
   return $queries;
 }
 
+//Rename is_published to is_active
+function uc_discounts_update_7() {
+  db_change_field($ret, 'uc_discounts', 'is_published', 'is_active',array('type' => 'int', 'size' => 'tiny', 'not null' => FALSE, 'default' => 0, ));
+  
+  return $ret;
+}
diff --git a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.module b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.module
index c13159d..158ae8a 100644
--- a/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.module
+++ b/html/sites/all/modules/contrib/uc_discounts_alt/uc_discounts/uc_discounts.module
@@ -40,7 +40,8 @@ define("MAX_USES_DEFAULT", 0);
 define("MAX_USES_PER_USER_DEFAULT", 0);
 define("MAX_USES_PER_CODE_DEFAULT", 0);
 define("HAS_EXPIRATION_DEFAULT", FALSE);
-define("IS_PUBLISHED_DEFAULT", FALSE);
+define("IS_ACTIVE", 1);
+define("IS_ACTIVE_DEFAULT", FALSE);
 
 define("LINE_ITEM_KEY_NAME", "uc_discounts");
 // (1 to follow subtotal)
@@ -571,7 +572,7 @@ function get_uc_discounts_column_names() {
     "discount_amount", "requires_code", "filter_type", "has_role_filter",
     "requires_single_product_to_qualify", "required_product", "max_times_applied", "can_be_combined_with_other_discounts", "max_uses",
     "max_uses_per_user", "max_uses_per_code", "has_expiration", "expiration",
-    "is_published", "weight",
+    "is_active", "weight",
   );
 }
 
@@ -624,7 +625,7 @@ function uc_discounts_insert($name, $short_description, $description, $qualifyin
   $discount_amount, $requires_code, $filter_type, $has_role_filter,
   $requires_single_product_to_qualify, $required_product, $max_times_applied, $can_be_combined_with_other_discounts, $max_uses,
   $max_uses_per_user, $max_uses_per_code, $has_expiration, $expiration,
-  $is_published, $weight, $insert_timestamp = NULL
+  $is_active, $weight, $insert_timestamp = NULL
 ) {
   if (is_null($insert_timestamp)) {
     $insert_timestamp = time();
@@ -638,7 +639,7 @@ function uc_discounts_insert($name, $short_description, $description, $qualifyin
     $discount_amount, $requires_code, $filter_type, $has_role_filter,
     $requires_single_product_to_qualify, $required_product, $max_times_applied, $can_be_combined_with_other_discounts, $max_uses,
     $max_uses_per_user, $max_uses_per_code, $has_expiration, $expiration,
-    $is_published, $weight, $insert_timestamp
+    $is_active, $weight, $insert_timestamp
   );
   $discount_id = db_last_insert_id("uc_discounts", "discount_id");
   uc_discounts_log("new discount_id=". $discount_id);
@@ -654,7 +655,7 @@ function uc_discounts_update($discount_id,
   $discount_amount, $requires_code, $filter_type, $has_role_filter,
   $requires_single_product_to_qualify, $required_product, $max_times_applied, $can_be_combined_with_other_discounts, $max_uses,
   $max_uses_per_user, $max_uses_per_code, $has_expiration, $expiration,
-  $is_published, $weight
+  $is_active, $weight
 ) {
 
   $query = "UPDATE {uc_discounts} SET ";
@@ -678,7 +679,7 @@ function uc_discounts_update($discount_id,
     $discount_amount, $requires_code, $filter_type, $has_role_filter,
     $requires_single_product_to_qualify, $required_product, $max_times_applied, $can_be_combined_with_other_discounts, $max_uses,
     $max_uses_per_user, $max_uses_per_code, $has_expiration, $expiration,
-    $is_published, $weight, $discount_id
+    $is_active, $weight, $discount_id
   );
 }
 
@@ -1112,8 +1113,9 @@ function get_discounts_for_order($order, &$errors = NULL, &$warnings = NULL, &$m
 			AND (%s)
 			AND (%s)
 			AND (d.has_expiration<>0 AND d.expiration<=%d)
+			AND (d.is_active=%d)
 			ORDER BY weight", $escaped_codes_string, $roles_clause, $product_ids_clause,
-      $term_ids_clause, $skus_clause, $classes_clause, time()
+      $term_ids_clause, $skus_clause, $classes_clause, time(), IS_ACTIVE
     );
     uc_discounts_log("query=". $query);
     $result = db_query($query);
@@ -1136,8 +1138,9 @@ function get_discounts_for_order($order, &$errors = NULL, &$warnings = NULL, &$m
 		AND (%s)
 		AND (%s)
 		AND (d.has_expiration=0 OR d.expiration>%d)
+		AND (d.is_active=%d)
 		ORDER BY weight", $codes_clause, $roles_clause, $product_ids_clause,
-    $term_ids_clause, $skus_clause, $classes_clause, time()
+    $term_ids_clause, $skus_clause, $classes_clause, time(), IS_ACTIVE
   );
   
   $result = db_query($query);
@@ -1666,7 +1669,7 @@ function get_codeless_discounts_for_product_and_quantity($product, $quantity = N
 		AND (%s)
 		AND (%s)
 		AND (d.has_expiration=0 OR d.expiration>%d)
-		ORDER BY d.%s %s", $roles_clause, $product_ids_clause, $term_ids_clause, $skus_clause, $classes_clause, time(),
+		ORDER BY d.%s %s", $roles_clause, $product_ids_clause, $term_ids_clause, $skus_clause, $classes_clause, time()
   $sort_column, $sort_order_string
   );
   uc_discounts_log("query=". $query);
