[js-embedded-discovery] 04/04: EDS-74 Fix fencepost in preferred IdP List management

Rod Widdowson rdw at steadingsoftware.com
Sat Mar 5 07:40:02 EST 2016


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository js-embedded-discovery.

commit acb7aa42582ec29b5994fafab10d7a0f62bf2ecb
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Mar 5 12:36:57 2016 +0000

    EDS-74 Fix fencepost in preferred IdP List management
    
    https://issues.shibboleth.net/jira/browse/EDS-74
    
    Accept provided patch (after review).
---
 src/javascript/idpselect.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/javascript/idpselect.js b/src/javascript/idpselect.js
index db2f827..290c989 100644
--- a/src/javascript/idpselect.js
+++ b/src/javascript/idpselect.js
@@ -1283,7 +1283,7 @@ function IdPSelectUI() {
         // populate start of array with preselected IdPs
         //
         if(null != preferredIdP){
-            for(i=0; i < preferredIdP.length && i < maxPreferredIdPs-1; i++){
+            for(i=0; i < preferredIdP.length && i < maxPreferredIdPs; i++){
                 idps[i] = getIdPFor(preferredIdP[i]);
                 offset++;
             }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list