Fix: [ bug #1393 ] PHP Warning when creating a supplier invoice.
Merge pull request #1603 from marcosgdf/bug-1393

Fix: [ bug #1393 ] PHP Warning when creating a supplier invoice.