diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-05-20 06:22:47 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-05-20 06:22:47 -0700 |
commit | f9cbff9fcc334da2853262ca46414edf80c2086e (patch) | |
tree | ac7754f6cb4168bd6b93b256565e6c16496e89a0 /modules/digibug/helpers | |
parent | ffc3f9f41c3d8d6df08d9ad6138f4ad74749ccec (diff) | |
parent | 110350776d5bda3b8535f0329ea69b914daa8019 (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/digibug/helpers')
-rw-r--r-- | modules/digibug/helpers/digibug_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/helpers/digibug_event.php b/modules/digibug/helpers/digibug_event.php index 4c842615..413bf586 100644 --- a/modules/digibug/helpers/digibug_event.php +++ b/modules/digibug/helpers/digibug_event.php @@ -28,7 +28,7 @@ class digibug_event_Core { static function site_menu($menu, $theme) { $item = $theme->item(); - if ($item->type == "photo") { + if ($item && $item->type == "photo") { $menu->get("options_menu") ->append(Menu::factory("link") ->id("digibug") |