From: phasefx Date: Thu, 21 Jul 2005 19:28:05 +0000 (+0000) Subject: small fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7442f723ee42b11e8df08ab412c55a11653168d5;p=Evergreen.git small fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@1344 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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; }