Commit 42104528 authored by njero's avatar njero

You cant call ucwords(strtolower(...)) on the plugin name because NestedSet...

You cant call ucwords(strtolower(...)) on the plugin name because NestedSet will become Nestedset (lower s)
parent 8ba35b6e
......@@ -268,7 +268,7 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
if (class_exists($tpl, true)) {
$tpl = new $tpl($options);
} else {
$className = 'Doctrine_Template_' . ucwords(strtolower($tpl));
$className = 'Doctrine_Template_' . $tpl;
if ( ! class_exists($className, true)) {
throw new Doctrine_Record_Exception("Couldn't load plugin.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment