From: Steven Callender Date: Mon, 18 Jul 2011 20:26:13 +0000 (+0000) Subject: lp#812550: Removed nulls from showing for patron penalties when no note attached... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=306775b7272d7b35abdd22014c67eef505fbcaa2;p=evergreen%2Fpines.git lp#812550: Removed nulls from showing for patron penalties when no note attached to penalty. Signed-off-by: Steven Callender Signed-off-by: Michael Peters Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 784082527a..9e4ebfa532 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -954,7 +954,7 @@ patron.display.prototype = { msg += '
'; msg += obj.OpenILS.data.hash.aou[ penalties[i].org_unit() ].shortname() + ' : ' + penalties[i].standing_penalty().label() + '
'; msg += '
'; - msg += penalties[i].note(); + msg += (penalties[i].note())?penalties[i].note():''; msg += '
'; } }