From 7442f723ee42b11e8df08ab412c55a11653168d5 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 21 Jul 2005 19:28:05 +0000 Subject: [PATCH] small fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@1344 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js index 8a29a543eb..e2633edfc4 100755 --- a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js +++ b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js @@ -110,7 +110,8 @@ function patron_get_checkouts( au, f ) { )[0]; if (!f) { - sdump('D_PATRON_UTILS','checkouts = ' + js2JSON(au.checkouts()) + '\n'); + sdump('D_PATRON_UTILS','checkouts = ' + js2JSON(checkouts) + '\n'); + if (!checkouts) checkouts = []; au.checkouts( checkouts ); return checkouts; } -- 2.11.0