fuel/core — Issue #636: Fatal error when adding a namespaced class name to Fieldset::add_model
Author: kbanman
Created: 2011-11-01 07:48:31+00:00
State: open

I'm getting this error:
`ErrorException [ Compile Error ]: Cannot redeclare class Clients\Model_Client_Contact`

From this code:

\Fieldset::forge('client_contact')->add_model('\\Clients\\Model_Client_Contact');

Which is inside a module's controller (`Clients`).

Using an instance of that class instead of the string class name works.