diff --git a/src/fn_miscs.cpp b/src/fn_miscs.cpp index 7b5d3ddc40..4829326f4d 100644 --- a/src/fn_miscs.cpp +++ b/src/fn_miscs.cpp @@ -237,7 +237,7 @@ namespace Sass { } - if (!d_env.has_global(full_name)) { + if (!d_env.has(full_name)) { error("Function not found: " + name, pstate, traces); }