Closed (fixed)
Project:
Invoice
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
3 Jul 2011 at 08:35 UTC
Updated:
31 Jul 2011 at 15:03 UTC
Jump to comment: Most recent file
Case: I need to make an invoice for a private person, not a company.
Workflow: create new invoice for new customer, enter Lastname, add invoice item and save it, save invoice
The following error occures:
PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined: SELECT customer_number FROM {invoice_customers} WHERE lastname = :lastname AND zipcode = :zipcode AND building_number = :building_number LIMIT 1; Array ( [0] => Mevr. S. ***** [1] => [2] => ) in invoice_node_presave() (regel 413 van /Applications/MAMP/htdocs/crm/sites/all/modules/invoice/invoice.module).
After that, when I create new invoice, the Invoice item from the previous case is allready there.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | invoice-1207758-bug.patch | 816 bytes | baxr6 |
Comments
Comment #1
baxr6 commentedthis is what I used to fix it....
Comment #2
pietervogelaar commentedComment #3
pietervogelaar commented