Syntax error introduced in last update fixed.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 18 Sep 2008 19:39:16 +0000 (19:39 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 18 Sep 2008 19:39:16 +0000 (19:39 +0000)
inventory/prices.php

index 3803fe07d7b2bfda45ce9784005da57d21e44586..4da07b47f900a3c31808592b761536f4c541671d 100644 (file)
@@ -106,7 +106,7 @@ if (list_updated('stock_id')) {
        $Ajax->activate('price_table');
        $Ajax->activate('price_details');
 }
-if (list_updated('stock_id')) || isset($_POST['_curr_abrev_update']) ) {
+if (list_updated('stock_id') || isset($_POST['_curr_abrev_update']) ) {
        // after change of stock, currency or salestype selector
        // display default calculated price for new settings. 
        // If we have this price already in db it is overwritten later.