diff --git a/HexagonBase/includes/theme_api.inc b/HexagonBase/includes/theme_api.inc
index 91b03c4..6ed0b6d 100644
--- a/HexagonBase/includes/theme_api.inc
+++ b/HexagonBase/includes/theme_api.inc
@@ -10,22 +10,19 @@ include_once HEX_INCLUDES . '/build_settings.inc';
 
 /**
  * Same as hex_settings but it does not check for parent scopes, the default
- * $theme is HEX_THEMEAPI and it is not cached. This should be used instead of
- * hex_setting() while in the theme settings form.
+ * $source is HEX_THEMEAPI and it is not cached. This should be used instead
+ * of hex_setting() while in the theme settings form.
  *
  * @see hex_setting()
  */
-function hex_themeapi_setting($name = NULL, $default = NULL, $theme = HEX_THEMEAPI, $ignore_parent_scope = TRUE) {
+function hex_themeapi_setting($name = NULL, $default = NULL, $source = HEX_THEMEAPI, $ignore_parent_scope = TRUE) {
   $settings = hex_build_settings($ignore_parent_scope);
 
-  if ($theme === HEX_ACTIVE || $theme === HEX_THEMEAPI) {
-    $theme = hex_active_theme($theme);
-  }
-  elseif ($theme == HEX_CASCADE && !empty($settings->cascade[$name])) {
-    $theme = $settings->cascade[$name];
+  if ($source === HEX_ACTIVE || $source === HEX_THEMEAPI) {
+    $source = hex_active_theme($source);
   }
 
-  return isset($settings->settings[$theme][$name]) ? $settings->settings[$theme][$name] : $default;
+  return isset($settings[$source][$name]) ? $settings[$source][$name] : $default;
 }
 
 /**

