Permalink
Browse files

fix pos only bug

  • Loading branch information...
kilbot committed Oct 11, 2014
1 parent b28805a commit 7548cdf0e45611601d10daf756e262dd22c467ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/includes/class-pos-product.php
@@ -60,7 +60,7 @@ public function posts_where( $where, $query ) {
$hide = 'pos_only';
}
$where .= " AND ID NOT IN (SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = '_pos_visibility' AND meta_value = '$hide')";
$where .= " AND {$wpdb->posts}.ID NOT IN (SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = '_pos_visibility' AND meta_value = '$hide')";
return $where;

0 comments on commit 7548cdf

Please sign in to comment.