Better to tell the user something rather than nothing
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 26 Jul 2011 19:52:59 +0000 (15:52 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 26 Jul 2011 19:52:59 +0000 (15:52 -0400)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/templates/default/opac/myopac/main_pay.tt2

index 1992181..7dc00fa 100644 (file)
@@ -7,7 +7,7 @@
     [% IF ctx.payment_response.textcode %]
         <div class="payment-error">
             <span title="[% ctx.payment_response.textcode %]">
-                [% ctx.payment_response.desc %]
+                [% ctx.payment_response.desc || ctx.payment_response.textcode %]
             </span><br />
             [% ctx.payment_response.payload.error_message %]
         </div>