diff --git a/includes/export.inc b/includes/export.inc
index 0b85c2e..3c901a7 100644
--- a/includes/export.inc
+++ b/includes/export.inc
@@ -902,7 +902,12 @@ function ctools_export_object($table, $object, $indent = '', $identifier = NULL,
   $output = $indent . '$' . $identifier . ' = new ' . get_class($object) . "();\n";
 
   if ($schema['export']['can disable']) {
-    $output .= $indent . '$' . $identifier . '->disabled = FALSE; /* Edit this to true to make a default ' . $identifier . ' disabled initially */' . "\n";
+    $disabled = !empty($object->disabled)  ? 'TRUE' : 'FALSE';
+    $output .= $indent . '$' . $identifier . '->disabled = ' . $disabled . ';';
+    if (!$object->disabled) {
+      $output .= ' /* Edit this to true to make a default ' . $identifier . ' disabled initially */';
+    }
+    $output .= "\n";
   }
   if (!empty($schema['export']['api']['current_version'])) {
     $output .= $indent . '$' . $identifier . '->api_version = ' . $schema['export']['api']['current_version'] . ";\n";
