Permalink
Browse files

MDL-20924 invalid test for not configured lams module

  • Loading branch information...
1 parent ead8c49 commit 9208e5ed5ea2b632a23c25a5f56702d133bf04a3 @skodak skodak committed Nov 21, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/lams/userinfo.php
View
@@ -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 9208e5e

Please sign in to comment.