On newcache.php, when a user is submitting a new cache and they choose BIT cache, it defaults to 'No container" as it should. However, if they make a mistake (for example, bad coordinates) it reloads the page but changes the container to micro. This prevents the cache submission. The page works fine as long as it isn't reloaded.
EDIT: This same error occurs when editing a webcam, virtual, guestbook or USB cache type. It does NOT occur when an event cache is edited.
I have not been able to determine what I need to change so that it reloads "no container" instead of changing it to "micro". Can anyone offer some insight please? Thanks!
Error I cannot Pinpoint
Zuletzt geändert von RVRoadTrip am 09.08.2011, 22:07, insgesamt 1-mal geändert.
I figured it out. Line 415 of newcache.php needs to be like this:
The original line was :
Code: Alles auswählen
if( $sel_type == 6 || $sel_type == 4 || $sel_type == 5 || $sel_type == 10 || $sel_type == 11 || $sel_type == 12)
Code: Alles auswählen
if( $sel_type == 6 )