summaryrefslogtreecommitdiffstats
path: root/authfas.module
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-07-18 21:59:18 -0400
committerPaul W. Frields <stickster@gmail.com>2010-07-18 21:59:18 -0400
commit06a796dae2d67f7965cdc5c29c4edc783d847af4 (patch)
treeb16f30e303295103f0496c3fcff3b86a09fbf8c1 /authfas.module
parent46f9b8adc3af2c74b92124ee6d0adeb8503bd825 (diff)
downloaddrupal-authfas-6x-06a796dae2d67f7965cdc5c29c4edc783d847af4.tar.gz
drupal-authfas-6x-06a796dae2d67f7965cdc5c29c4edc783d847af4.tar.xz
drupal-authfas-6x-06a796dae2d67f7965cdc5c29c4edc783d847af4.zip
Set default value for headers in authfas_fas_login()
Diffstat (limited to 'authfas.module')
-rw-r--r--authfas.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/authfas.module b/authfas.module
index 2ca3728..2bad8b2 100644
--- a/authfas.module
+++ b/authfas.module
@@ -126,7 +126,7 @@ function authfas_menu() {
return $items;
}
-function authfas_fas_login($username, $password, $url, $headers) {
+function authfas_fas_login($username, $password, $url, $headers = '') {
$username = strtolower($username);
$ch = curl_init();