update for php notices
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 17 Dec 2014 15:27:19 +0000 (10:27 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 17 Dec 2014 15:27:19 +0000 (10:27 -0500)
in glm-employment.php

glm-employment.php

index dfb83d2..247b1d5 100644 (file)
@@ -76,6 +76,6 @@ function glm_load_style()
     wp_enqueue_style('foundation',
             plugin_dir_url(__FILE__) . 'css/foundation.css');
 }
-if ($_REQUEST['action'] == 'view') {
+if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'view') {
     add_action('admin_enqueue_scripts', 'glm_load_style');
 }