Skip to content
Browse files

MDL-20924 invalid test for not configured lams module

  • Loading branch information...
1 parent 0502aaf commit a43a5041fca0424032f66c22e65fca1310ade603 @skodak skodak committed Nov 21, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/lams/userinfo.php
View
3 mod/lams/userinfo.php
@@ -14,8 +14,7 @@
*/
include_once("../../config.php");
- if(!isset($CFG->lams_serverid)||!isset($CFG->lams_serverkey))
- {
+ if (empty($CFG->lams_serverid) || !empty($CFG->lams_serverkey)) {
header("HTTP/1.1 401 Unauthenticated");
exit(1);
}

0 comments on commit a43a504

Please sign in to comment.
Something went wrong with that request. Please try again.