From: gmc Date: Tue, 30 Nov 2010 00:12:07 +0000 (+0000) Subject: fix failure when attempting to create invoice X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dda89e99bebb2e967487fe82bf3936e3ab6f93cb;p=contrib%2FConifer.git 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/branches/rel_2_0@18867 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {