Home › Forums › Any Mobile Theme Switcher › Return throws Warning
Hey there!
In ./any-mobile-theme-switcher.php on line 107 it’s possible for the $return variable to be empty.
./any-mobile-theme-switcher.php
107
$return
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!
Hi Chris,
Thank you so much for reporting it. I will change it in next release.
Thanks