Revert "Bug 756339 - Prices table not updated"

This reverts commit 0baf078b6f,
and is step 1 in reverting out the single-price changes and
moving them to master.
This commit is contained in:
John Ralls 2015-10-23 11:43:03 -07:00
parent 9d43a616e1
commit 9fc0c4667c

View File

@ -203,7 +203,7 @@ write_price( GNCPrice* p, gpointer data )
g_return_val_if_fail( p != NULL, FALSE );
g_return_val_if_fail( data != NULL, FALSE );
if ( s->is_ok && gnc_price_get_source(p) != PRICE_SOURCE_INVOICE)
if ( s->is_ok && gnc_price_get_source(p) == PRICE_SOURCE_INVOICE)
{
s->is_ok = save_price( s->be, QOF_INSTANCE(p) );
}