Fixed broken script

This commit is contained in:
Pavol Zibrita 2012-04-20 12:00:05 +03:00
parent 4c9ff0fbb4
commit 87e03b7140

View file

@ -82,12 +82,12 @@ function update_count_of_downloads($file) {
// old version // old version
// update_count_of_downloads($file) ; // update_count_of_downloads($file) ;
if (!isset($_GET['event']) { if (!isset($_GET['event'])) {
$eventno = 1; $eventno = 1;
} else { } else {
$eventno = $_GET['event']; $eventno = $_GET['event'];
} }
if (isset($_GET['osmandver']) { if (isset($_GET['osmandver'])) {
$app = $_GET['osmandver']; $app = $_GET['osmandver'];
} else { } else {
$app = 'Download '.$_SERVER['HTTP_USER_AGENT']; $app = 'Download '.$_SERVER['HTTP_USER_AGENT'];