Skip to content

Commit

Permalink
Merge pull request #4852 from DariyGRAY/patch-2
Browse files Browse the repository at this point in the history
Update map.php
  • Loading branch information
danielkerr committed Sep 5, 2016
2 parents f30bbf4 + 8ef19b2 commit f1d79f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/controller/extension/dashboard/map.php
Expand Up @@ -89,7 +89,7 @@ public function index() {
}

protected function validate() {
if (!$this->user->hasPermission('modify', 'extension/analytics/google_analytics')) {
if (!$this->user->hasPermission('modify', 'extension/dashboard/map')) {
$this->error['warning'] = $this->language->get('error_permission');
}

Expand Down Expand Up @@ -126,4 +126,4 @@ public function map() {
$this->response->addHeader('Content-Type: application/json');
$this->response->setOutput(json_encode($json));
}
}
}

0 comments on commit f1d79f4

Please sign in to comment.