]> git.defcon.no Git - hermes/blobdiff - api/lib/user_functions.php
Permitedcalls is now called permittedcalls in the DB. Fixed a failure-failure resulti...
[hermes] / api / lib / user_functions.php
index 05ce335e9cc9fade7ec5ddb873b383dddba8acca..a022433554bd6615e268e2db0221594388052b5a 100644 (file)
@@ -307,7 +307,7 @@ function get_userdata( $username, $domain )
        if ( $type == 'local' )
        {
                // WARNING: Note the typo in the name of the 'permittedcalls' column!
-               $query_kamailio = sprintf ("SELECT id, username, domain, password, email_address, ha1, ha1b, rpid, permitedcalls FROM %s WHERE username = '%s' AND domain = '%s'",
+               $query_kamailio = sprintf ("SELECT id, username, domain, password, email_address, ha1, ha1b, rpid, permittedcalls FROM %s WHERE username = '%s' AND domain = '%s'",
                        $config['kamailio_subscriber_table'],
                        sql_clean($username),
                        sql_clean($domain));