diff --git a/cache_control.module b/cache_control.module
index 0734d20..8a7c1be 100644
--- a/cache_control.module
+++ b/cache_control.module
@@ -175,7 +175,7 @@ function cache_control_init() {
 
   if ($router_path == 'node/%') {
   	$node = $router_item['page_arguments'][0];
-  	variable_get('cache_control_no_cache_content_types', array());
+  	$types = variable_get('cache_control_no_cache_content_types', array());
   	if (!empty($types[$node->type])) {
   	  //We're looking at a node and it's of type that shouldn't be cached
       cache_control_send_no_cache_headers('Node type on no-cache list');
