From 46cdfa2f7378f8e4bbd0d1b1cfd3a5d272aaaae3 Mon Sep 17 00:00:00 2001 From: aforkner23 Date: Wed, 7 Jan 2015 14:45:42 -0500 Subject: [PATCH] Update litlecc.phtml Modifying length of order IDs generated from the Magento session ID. By changing the substr() call on line 42, the length of the orderID is no more than 25 characters. --- .../frontend/base/default/template/litle/form/litlecc.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/design/frontend/base/default/template/litle/form/litlecc.phtml b/app/design/frontend/base/default/template/litle/form/litlecc.phtml index 72c2292..9ee07c6 100644 --- a/app/design/frontend/base/default/template/litle/form/litlecc.phtml +++ b/app/design/frontend/base/default/template/litle/form/litlecc.phtml @@ -39,7 +39,7 @@ Validation.creditCartTypes.set('DC', [new RegExp('^3(?:0[0-5]|[68][0-9])[0-9]{11 getEncryptedSessionId(); -$_id = $_time . substr($_session,13); +$_id = $_time . substr($_session,0,12); ?> getMethodCode() ?>