HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Bug on Badge View page ( for comments )

This discussion is related to the Peregrine Badges addon.
TamaTama United Kingdom ✭✭✭

around line 332 in peregrinebadgesall.php

       for ($x = 0; $x <= count($PBArray)-1; $x++) {
                echo $x;

is causing a string of numbers to be shown, I assume this was used for plugin debugging; but was left in by mistake.

kirkpa31ShadowdareUnderDoghgtonightperegrine

Comments

  • Noticed that too - thanks @tama

  • peregrineperegrine MVP
    edited July 2013

    thx. tama. meanwhile you can make the following choice of changes:

    from

         for ($x = 0; $x <= count($PBArray)-1; $x++) {
        echo $x;
    
    
    
    I prefer option c , but you might like option A
    
    a)      for ($x = 0; $x <= count($PBArray)-1; $x++) {    
    
    
    b)       for ($x = 0; $x <= count($PBArray)-1; $x++) {     
                //  echo $x;
    
    
    c)          for ($x = 0; $x <= count($PBArray)-1; $x++) {     
                 echo $peregrine_is_on_vacation;
    
    
    
    d)       // leave it as is and enjoy the numbers.
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    hgtonightaerykirkpa31
Sign In or Register to comment.