Coding bug in inventory_db.inc. Fixed.
authorJoe <joe.hunt.consulting@gmail.com>
Mon, 11 Apr 2022 09:31:50 +0000 (11:31 +0200)
committerJoe <joe.hunt.consulting@gmail.com>
Mon, 11 Apr 2022 09:31:50 +0000 (11:31 +0200)
inventory/includes/inventory_db.inc

index 7b672fae8a3609d517ab1d659e9988b4e3e0bb6d..df25675516832e4ba3361dfb3c2e7fe8d1a06c0c 100644 (file)
@@ -95,7 +95,7 @@ function send_reorder_email($loc, $st_ids, $st_names, $st_num, $st_reorder)
        $company = get_company_prefs();
        $mail = new email($company['coy_name'], $company['email']);
        $to = $loc['location_name'] . " <" . $loc['email'] . ">";
-       $subject = _("Stocks below Re-Order Level at " . $loc['location_name']);
+       $subject = _("Stocks below Re-Order Level at ") . $loc['location_name'];
        $msg = "\n";
        for ($i = 0; $i < count($st_ids); $i++)
                $msg .= $st_ids[$i] . " " . $st_names[$i] . ", " . _("Re-Order Level") . ": " . $st_reorder[$i] . ", " . _("Below") . ": " . $st_num[$i] . "\n";