Changeset 875 for plugins/googlemaps/trunk/googlemaps.plugin.php
- Timestamp:
- 09/01/08 18:29:29 (4 months ago)
- Files:
-
- 1 modified
-
plugins/googlemaps/trunk/googlemaps.plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/googlemaps/trunk/googlemaps.plugin.php
r841 r875 115 115 public function action_admin_header( $theme ) 116 116 { 117 $handler_vars = Controller::get_handler_vars(); 118 if (!isset($handler_vars['page']) || $handler_vars['page'] != 'publish') return; 117 if ($theme->page != 'publish') return; 119 118 $api_key = Options::get('googlemaps__api_key'); 120 119 if (empty($api_key)) return;
