$c needs to be global.

This commit is contained in:
Andrew McMillan 2007-11-04 21:20:05 +13:00
parent 2744a62c28
commit acca66e4d8

View File

@ -164,6 +164,7 @@ function getStaticLdap() {
* @param object $usr A user record to be updated (or created)
*/
function sync_user_from_LDAP( &$usr, $mapping, $ldap_values ) {
global $c;
dbg_error_log( "LDAP", "Going to sync the user from LDAP" );
$validUserFields = get_fields('usr');