Commit 381561c7 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #2262 Fatal error: cannot instantiate class 'String' - try running...

Fixes: #2262 Fatal error: cannot instantiate class 'String' - try running 'fusiondirectory-setup --update-cache' to fix this ?
parent 096b9da0
......@@ -51,7 +51,7 @@ class faiConfig extends simplePlugin
);
$rdns = array('Script', 'Hook', 'Template', 'Variable', 'Profile', 'Package', 'Partition');
foreach ($rdns as $rdn) {
$attrs['main']['attrs'][] = new String(
$attrs['main']['attrs'][] = new StringAttribute (
sprintf(_('Fai %s RDN'), strtolower($rdn)),
sprintf(_('Relative branch in which fai %s will be stored'), _(strtolower($rdn).'s')),
'fdFai'.$rdn.'RDN', TRUE,
......
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