Closed GoogleCodeExporter closed 9 years ago
Ah... if the value already exists, e.g. meta_value = 123 and you "update" it to
"123", $wpdb->update returns 0.
Solution: line 381 of SP_Post.php must use a triple equals ===:
if ($wpdb->update( $wpdb->postmeta, array('meta_value' => $v), array('post_id'
=> $post_id, 'meta_key' => $k)) === false ) {
Original comment by ever...@fireproofsocks.com
on 7 May 2013 at 5:00
Committed revision 709411.
Original comment by ever...@fireproofsocks.com
on 7 May 2013 at 6:33
Original issue reported on code.google.com by
ever...@fireproofsocks.com
on 7 May 2013 at 4:55