From: Steve Sutton Date: Wed, 17 Dec 2014 15:27:19 +0000 (-0500) Subject: update for php notices X-Git-Tag: v1.0.1~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=74827cfacbe63151c4188ab9ef00daf275e110b4;p=WP-Plugins%2Fglm-employment.git update for php notices in glm-employment.php --- diff --git a/glm-employment.php b/glm-employment.php index dfb83d2..247b1d5 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -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'); }