Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 19 #27

Open
wants to merge 8 commits into
base: MOODLE_27_STABLE
Choose a base branch
from
Open

Issue 19 #27

wants to merge 8 commits into from

Conversation

jleyva
Copy link
Owner

@jleyva jleyva commented Jul 8, 2015

No description provided.

jleyva and others added 8 commits August 8, 2014 22:50
…email and name sent due to security settings.
LTI User creation with anonymous user security settings
Some fields in the local_ltiprovider record are set to 1 even if you pass a 0
into the add/update function. This was because of a ternary operation around
isset(0) == false.

isset() and empty() return true for falsey values including 0.

```
$ php -r '$x = 0; var_dump(isset($x) ? 1 : 0);'
int(1)

$ php -r '$x = 0; var_dump(empty($x) ? 1 : 0);'
int(1)
```

Fixes jleyva#19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants