Bad english language in db error msg.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 29 Jan 2019 14:10:00 +0000 (15:10 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 29 Jan 2019 14:10:00 +0000 (15:10 +0100)
inventory/includes/db/items_units_db.inc

index 208912c82fe06db79cbb75facdbcf5a34b0c3861..d90b03b39e18944493aa4819da6826d756e49cb2 100644 (file)
@@ -45,7 +45,7 @@ function get_unit_descr($unit)
 {
        $sql = "SELECT name FROM ".TB_PREF."item_units WHERE abbr=".db_escape($unit);
 
-       $result = db_query($sql, "could not unit description");
+       $result = db_query($sql, "could not retrieve unit description");
 
        $row = db_fetch_row($result);
        return $row[0];