Return throws Warning

Home Forums Any Mobile Theme Switcher Return throws Warning

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #387826
    Chris Mewhort
    Guest

    Hey there!

    In ./any-mobile-theme-switcher.php on line 107 it’s possible for the $return variable to be empty.

    IF you walk through [the if statement in this screenshot](https://i.imgur.com/3BT099r.png) you’ll see the logical error.

    I’ve included a simple fix which is to start out by declaring $return as an empty string. Problem solved.

    Have a great weekend!

    #388089
    Dinesh
    Keymaster

    Hi Chris,

    Thank you so much for reporting it. I will change it in next release.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Return throws Warning’ is closed to new replies.