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

Bug on Badge View page ( for comments )

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.

There was an error rendering this rich post.

Comments

  • Options

    Noticed that too - thanks @tama

  • Options
    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.

Sign In or Register to comment.