mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-07 15:23:50 -04:00
Adapt load_config hook to fallback to english if no valid language is
present Move CI system language files back to their correct location (form_validation_lang) Add upload_lang.php and email_lang.php to system files (default english version for the time being) Add account_number check when importing customer data from excel Avoid unnecessary calls to check_item_number when importing items from excel
This commit is contained in:
@@ -613,11 +613,12 @@ class Items extends Secure_area implements iData_controller
|
||||
'custom10' => $data[23] /** GARRISON ADDED 5/6/2013 **/
|
||||
);
|
||||
$item_number = $data[0];
|
||||
$invalidated = false;
|
||||
if ($item_number != "")
|
||||
{
|
||||
$item_data['item_number'] = $item_number;
|
||||
$invalidated = $this->Item->item_number_exists($item_number);
|
||||
}
|
||||
$invalidated = $this->Item->item_number_exists($item_number);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user