We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98bb38 commit b8dfe4cCopy full SHA for b8dfe4c
1 file changed
admin/admin_gps.php
@@ -62,7 +62,7 @@ function gps_upload_file($uploaded_file) {
62
$uploaded_file_tmp = $uploaded_file['tmp_name'];
63
$uploaded_file_name = preg_replace('/[^a-zA-Z0-9s.]/', '_', $uploaded_file['name']);
64
$uploaded_file_destination = $uploaded_galleries_dir . '/' . $uploaded_file_name;
65
- $ext = pathinfo($uploaded_file_name)['extension']
+ $ext = pathinfo($uploaded_file_name)['extension'];
66
$uploaded_errors = array();
67
if(!in_array($ext, array('csv', 'gpx', 'kml', 'wkt', 'topojson', 'geojson'))) {
68
$uploaded_errors['upload_error'] = l10n('Extension not supported');
0 commit comments