gwu-libraries / lai-libsite

ARCHIVED. Code merged into new library.gwu.edu repo, and tickets transferred there. Old description: Drupal 7 theme for GW Libraries. Based on earlier Libsite7 theme.
MIT License
2 stars 0 forks source link

fix dblog php notice in theme's page template #173

Closed maxstarkenburg closed 5 years ago

maxstarkenburg commented 5 years ago

I'm getting another dblog message similar to recent cleanup of custom modules, though this time in the theme (though not a regression). Line 5 of libsite7b/templates/page.tpl.php is setting $nid = $_GET['nid'];, which is generating an Undefined Index notice, at least when hitting pages like /user or the homepage. (The $nid is apparently being fed to a get_library_hours_tabs() function later in the file that's actually defined in the library_hours module.) Will keep my eye out for other notices/warnings.