Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Good Day,
I am getting this warning. Is there anyway to fix it?
LINE 43
foreach($primary_links as $key => $value ) {
if (ereg('active', $key)) {
$primary_links[$key]['attributes']['class'] = "active";
}
}
?>
Thank you,
Mark
Comments
Comment #1
derjochenmeyer CreditAttribution: derjochenmeyer commentedstrange .... try to relpace that code with this one ..
Comment #2
aauger@diocese-sacramento.org CreditAttribution: aauger@diocese-sacramento.org commentedThank you, your suggestion worked great!