? files
? theme.oops.patch
? sites/here.be.dragons.rtk0.net
Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.374
diff -u -p -r1.374 theme.inc
--- includes/theme.inc	29 Aug 2007 16:56:13 -0000	1.374
+++ includes/theme.inc	29 Aug 2007 22:14:19 -0000
@@ -1119,7 +1119,7 @@ function theme_links($links, $attributes
       if ($i == $num_links) {
         $class .= ' last';
       }
-      if ($link['href'] == $_GET['q']) {
+      if (isset($link['href']) && $link['href'] == $_GET['q']) {
         $class .= ' active';
       }
       $output .= '<li class="'. $class .'">';
