Comment 5 for bug 576026

Revision history for this message
David King (davidwk) wrote :

On line 308 of /var/www/mahara/admin/users/add.php the global variable $LEAP2A_FILE is used

$filename = substr($LEAP2A_FILE, strlen(get_config('dataroot')));

I've traced the call stack several times and I can't find that variable being defined anywhere. I could just be blind but from what I can make of the flow of the code, if it can't find the file, it would make sense that the 'data' field wouldn't exist.