Permalink
Browse files

Added conditional support for traits.

  • Loading branch information...
1 parent 85dec24 commit 54bab5b05f9d25c157f890dbaf6fc12ea27b4050 @boenrobot boenrobot committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/PEAR2/Autoload.php
View
@@ -323,7 +323,7 @@ protected static function loadSuccessful($class)
return class_exists($class, false)
|| interface_exists($class, false)
|| (in_array('trait_exists', self::$checkFunctions, true)
- && trait_exists($class));
+ && trait_exists($class, false));
}
/**

0 comments on commit 54bab5b

Please sign in to comment.