1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Fixed Js Console Error When Trying To Change Save Album After Changing Category

Discussion in 'Bug Reports' started by RobinHood, Oct 20, 2019.

  1. RobinHood

    RobinHood Authorized Member Authorized

    upload_2019-10-20_23-15-31.png

    Code:
    xenforo.js?_v=141df496:236 PHP <br />
    <b>Warning</b>:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in <b>/home/public_html/library/sonnb/XenGallery/DataWriter/Album.php</b> on line <b>1125</b><br />
    {"_redirectStatus":"ok","_redirectTarget":"https:\/\/domain.com\/gallery\/albums\/worldcup-2017.197\/","_redirectMessage":"Changes Saved","_visitor_conversationsUnread":"0","_visitor_alertsUnread":"0"}
    Any ideas?

    Thanks
     
  2. RobinHood

    RobinHood Authorized Member Authorized

    I changed continue to continue 2 on line 1125, seems to be due to the nudity score, which seems odd?

    The album saved, please let me know if that wasn't the correct fix. Thanks
     
  3. sonnb

    sonnb Administrator Staff Member

    Are you on 7.3? I think your change is correct because we need escape the switch and also continue to the next foreach.
     
  4. RobinHood

    RobinHood Authorized Member Authorized

    I am indeed on 7.3 :)
     

Share This Page