From a3949d86937045c199f022e65436ac5926d3dfdf Mon Sep 17 00:00:00 2001 From: gmc Date: Tue, 30 Nov 2010 00:11:22 +0000 Subject: [PATCH] fix failure when attempting to create invoice Occurred for line items that were not part of a selection list Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@18866 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/acq/Lineitem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/acq/Lineitem.js b/Open-ILS/web/js/dojo/openils/acq/Lineitem.js index 7c08653c1a..a52c6c7813 100644 --- a/Open-ILS/web/js/dojo/openils/acq/Lineitem.js +++ b/Open-ILS/web/js/dojo/openils/acq/Lineitem.js @@ -144,7 +144,7 @@ openils.acq.Lineitem.fetchAndRender = function(liId, args, callback) { var orderDate = ''; var liLink = ''; - if(pl.name() == '') // special pl + if(pl && pl.name() == '') // special pl pl = null; if(po) { -- 2.43.2