Database error message in sales_order_db.inc fixed.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 28 Aug 2019 15:24:52 +0000 (17:24 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 28 Aug 2019 15:24:52 +0000 (17:24 +0200)
sales/includes/db/sales_order_db.inc

index c918890b073f10970cf7ac737e6e7b891ea6895b..5da5cc5632d4c4bc0acbe316bc1177da4395a97a 100644 (file)
@@ -637,7 +637,7 @@ function last_sales_order_detail($order, $field)
             ORDER BY order_no DESC LIMIT 1)
             ORDER BY d.id DESC LIMIT 1";        
 
-        $last_query=db_query($sql, "Retreive last order detail");
+        $last_query=db_query($sql, "Could not retrieve last order detail");
         $row = db_fetch_row($last_query);
         return $row[0];
 }