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 04da094 commit ab61f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carrington.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function cfct_about_text() {
else {
global $post, $wp_query;
$orig_post = $post;
$page = $wp_query->query_vars['page'];
isset($wp_query->query_vars['page']) ? $page = $wp_query->query_vars['page'] : $page = null;
// temporary - resetting below
$wp_query->query_vars['page'] = null;
remove_filter('the_excerpt', 'st_add_widget');
Expand Down

0 comments on commit ab61f9c

Please sign in to comment.