From: <ex...@us...> - 2015-11-05 01:05:35
|
Revision: 7381 http://sourceforge.net/p/web-erp/reponame/7381 Author: exsonqu Date: 2015-11-05 01:05:32 +0000 (Thu, 05 Nov 2015) Log Message: ----------- 05/11/15 Exson: Tidy code up following Tim's suggestion. Modified Paths: -------------- trunk/StockClone.php Modified: trunk/StockClone.php =================================================================== --- trunk/StockClone.php 2015-11-03 15:30:05 UTC (rev 7380) +++ trunk/StockClone.php 2015-11-05 01:05:32 UTC (rev 7381) @@ -510,7 +510,7 @@ prnMsg( _('New cloned Item') .' ' . '<a href="SelectProduct.php?StockID=' . $_POST['StockID'] . '">' . $_POST['StockID'] . '</a> '. _('has been added to the database') . '<br />' . _('We also attempted to setup item purchase data and pricing.')); - if (!empty($NoPricingData)) + if (isset($NoPricingData)) { prnMsg(_('There is no pricing data to clone. Use the following link to add pricing.')); } |