From 084c27568deac3cdde22202b9c76ef6c1722c067 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 24 Sep 2010 05:48:39 +0000 Subject: [PATCH] this call returns an array; fixes surprise stat cats in patron display git-svn-id: svn://svn.open-ils.org/ILS/trunk@17952 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index 0c51156ff7..20af40b1d2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -186,6 +186,8 @@ OpenILS.data.prototype = { break; case 'actsc': found = obj.network.simple_request('FM_ACTSC_RETRIEVE_VIA_PCRUD',[ ses(), { 'id' : { '=' : value } }]); + if (typeof found.ilsevent != 'undefined') throw(found); + found = found[0]; break; default: return undefined; break; } -- 2.43.2