Skip to content

Commit

Permalink
suppress harmless PHP notices
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkingorg committed Oct 7, 2009
1 parent a6dfba9 commit ec1ffd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function cfct_blog_admin_js() {
</script>
<?php
}
if ($_GET['page'] == 'carrington-settings') {
if (isset($_GET['page']) && $_GET['page'] == 'carrington-settings') {
add_action('admin_head', 'cfct_blog_admin_js');
}

Expand Down

0 comments on commit ec1ffd7

Please sign in to comment.