[Erledigt] Call to undefined function phpbb_style_is_activ
Verfasst: 07.09.2012 10:54
Hallo ich bekomme eine Fehlermeldung und kann sie leider nicht alleine beheben.
Die Zeile die angemekert wird sieht so aus:
Ich habe versucht sie mit zu ersetzen:
aber leider ohne erfolg.
Der gesamte Code sieht so aus:
Ein Blick in die Orginal includes/ucp/ucp_prefs.php ergab das die beiden Identisch sind.
Code: Alles auswählen
Fatal error: Call to undefined function phpbb_style_is_active() in /var/www/web0/html/includes/ucp/ucp_prefs.php on line 72
Code: Alles auswählen
else if (!phpbb_style_is_active($data['style']))
Code: Alles auswählen
else (!phpbb_style_is_active($data['style']))
Der gesamte Code sieht so aus:
Code: Alles auswählen
if ($submit)
{
if ($config['override_user_style'])
{
$data['style'] = (int) $config['default_style'];
}
if (!phpbb_style_is_active($data['style']))
{
$data['style'] = (int) $user->data['user_style'];
}
$error = validate_data($data, array(
'dateformat' => array('string', false, 1, 30),
'lang' => array('match', false, '#^[a-z0-9_\-]{2,}$#i'),
));