Bug 3775: Accounts::chargelostitem uses title, but title not available to it
authorJ. David Bavousett <dbavousett@ptfs.com>
Wed, 17 Feb 2010 16:19:09 +0000 (11:19 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 17 Feb 2010 16:25:25 +0000 (11:25 -0500)
commitbc06a7736afbb4aad99d4697e7b0d55e6272cc2b
tree52cec0d228c67e3366a2d833f297cf62c06cba22
parent64b79bf6207cd1d98e2885e026375d94142474d6
Bug 3775: Accounts::chargelostitem uses title, but title not available to it

This patch fixes the SELECT so that title is available when it is used
later on, which will prevent 'Use of uninitialized value' errors.

It also uses JOIN properly, which the original query and my initial
patches for this did not.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Accounts.pm