Permalink
Browse files

Merge branch 'undefined_cat_id' into dominique

  • Loading branch information...
2 parents 23590dc + 6ea76cf commit 6be7969cd89884bee6eafe07dd29dd9a3abefb42 @1bigidea committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 wpsc-includes/display.functions.php
@@ -357,7 +357,7 @@ function wpsc_obtain_the_description() {
}
// Return product content as description if product page
- if ( !empty($_GET['product_id'] )) && is_numeric( $_GET['product_id'] ) ) {
+ if ( !empty($_GET['product_id'] ) && is_numeric( $_GET['product_id'] ) ) {
$product = get_post(absint( $_GET['product_id'] ));
$output = $product->post_content;
}

0 comments on commit 6be7969

Please sign in to comment.