mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 02:16:41 +00:00
removed ltrim because $class variable already ltrim'ed
This commit is contained in:
@@ -831,7 +831,7 @@ class Twig_Environment
|
||||
return true;
|
||||
}
|
||||
|
||||
return isset($this->extensionsByClass[ltrim($class, '\\')]);
|
||||
return isset($this->extensionsByClass[$class]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user