Admin Template: Fehler nach einbau in der functions_selects
Verfasst: 09.02.2006 23:30
Hi @ all
ich hoffe ihr könnt mir bei meinem Problem helfen ich bekomme immer einen Fehler im Profil
Warning: in_array(): Wrong datatype for second argument in /var/www/vhosts/testseite.de/httpdocs/includes/functions_selects.php on line 81
Es liegt an dem Admin Template Mod aber die änderungen habe ich so durch geführt wie es dort steht auch in diesem code abschnitt
#
#-----[ FIND ]------------------------------------------
#
$style_select .= '<option value="' . $row['themes_id'] . '"' . $selected . '>' . $row['style_name'] . '</option>';
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $row['theme_public'] == TRUE || in_array($row['theme_usergroup'], $userdata['usergroups']) || $userdata['user_level'] == ADMIN || $row['themes_id'] == $board_config['default_style'] ) $style_select .= '<option value="' . $row['themes_id'] . '"' . $selected . '>' . $row['style_name'] . '</option>';
Ich hoffe ihr könnt mir helfen Bei diesem Problem
ich hoffe ihr könnt mir bei meinem Problem helfen ich bekomme immer einen Fehler im Profil
Warning: in_array(): Wrong datatype for second argument in /var/www/vhosts/testseite.de/httpdocs/includes/functions_selects.php on line 81
Es liegt an dem Admin Template Mod aber die änderungen habe ich so durch geführt wie es dort steht auch in diesem code abschnitt
#
#-----[ FIND ]------------------------------------------
#
$style_select .= '<option value="' . $row['themes_id'] . '"' . $selected . '>' . $row['style_name'] . '</option>';
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $row['theme_public'] == TRUE || in_array($row['theme_usergroup'], $userdata['usergroups']) || $userdata['user_level'] == ADMIN || $row['themes_id'] == $board_config['default_style'] ) $style_select .= '<option value="' . $row['themes_id'] . '"' . $selected . '>' . $row['style_name'] . '</option>';
Ich hoffe ihr könnt mir helfen Bei diesem Problem