smsgateway_settings in the 4.7 download tarball is incorrect
singularo - January 23, 2007 - 05:45
| Project: | SMS Gateway |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
function smsgateway_settings() {
// only administrators can access this module
if (!user_access('admin smsgateway')) {
drupal_access_denied();
return;
}
On line 398, it says 'admin smsgateway', it should be 'administer smsgateway'.
I'd submit a patch, but its a simple change ;-)
