projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed warning displayed before 2.2 db upgrade.
[fa-stable.git]
/
inventory
/
prices.php
diff --git
a/inventory/prices.php
b/inventory/prices.php
index 6268d2bf697324d13870bba256ff594b4ae40c0a..29a6530dcfcc85177d3085386bc7bce843403ebb 100644
(file)
--- a/
inventory/prices.php
+++ b/
inventory/prices.php
@@
-150,7
+150,8
@@
while ($myrow = db_fetch($prices_list))
end_table();
if (db_num_rows($prices_list) == 0)
{
- $calculated = true;
+ if (get_company_pref('add_pct') != -1)
+ $calculated = true;
display_note(_("There are no prices set up for this part."), 1);
}
div_end();