{"action":"closed","issue":{"url":"https://api.github.com/repos/woothemes/sensei/issues/1225","repository_url":"https://api.github.com/repos/woothemes/sensei","labels_url":"https://api.github.com/repos/woothemes/sensei/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/sensei/issues/1225/comments","events_url":"https://api.github.com/repos/woothemes/sensei/issues/1225/events","html_url":"https://github.com/woothemes/sensei/issues/1225","id":122224035,"number":1225,"title":"1.9-rc1: Error when ordering lessons","user":{"login":"danjjohnson","id":1990037,"avatar_url":"https://avatars.githubusercontent.com/u/1990037?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjohnson","html_url":"https://github.com/danjjohnson","followers_url":"https://api.github.com/users/danjjohnson/followers","following_url":"https://api.github.com/users/danjjohnson/following{/other_user}","gists_url":"https://api.github.com/users/danjjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjohnson/subscriptions","organizations_url":"https://api.github.com/users/danjjohnson/orgs","repos_url":"https://api.github.com/users/danjjohnson/repos","events_url":"https://api.github.com/users/danjjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/danjjohnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/sensei/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"dwainm","id":1713474,"avatar_url":"https://avatars.githubusercontent.com/u/1713474?v=3","gravatar_id":"","url":"https://api.github.com/users/dwainm","html_url":"https://github.com/dwainm","followers_url":"https://api.github.com/users/dwainm/followers","following_url":"https://api.github.com/users/dwainm/following{/other_user}","gists_url":"https://api.github.com/users/dwainm/gists{/gist_id}","starred_url":"https://api.github.com/users/dwainm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwainm/subscriptions","organizations_url":"https://api.github.com/users/dwainm/orgs","repos_url":"https://api.github.com/users/dwainm/repos","events_url":"https://api.github.com/users/dwainm/events{/privacy}","received_events_url":"https://api.github.com/users/dwainm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/woothemes/sensei/milestones/30","html_url":"https://github.com/woothemes/sensei/milestones/1.9.1","labels_url":"https://api.github.com/repos/woothemes/sensei/milestones/30/labels","id":1394092,"number":30,"title":"1.9.1","description":"Overflow from 1.9 and any other bug fixes","creator":{"login":"danjjohnson","id":1990037,"avatar_url":"https://avatars.githubusercontent.com/u/1990037?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjohnson","html_url":"https://github.com/danjjohnson","followers_url":"https://api.github.com/users/danjjohnson/followers","following_url":"https://api.github.com/users/danjjohnson/following{/other_user}","gists_url":"https://api.github.com/users/danjjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjohnson/subscriptions","organizations_url":"https://api.github.com/users/danjjohnson/orgs","repos_url":"https://api.github.com/users/danjjohnson/repos","events_url":"https://api.github.com/users/danjjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/danjjohnson/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2015-11-04T18:01:53Z","updated_at":"2016-02-04T11:38:03Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-15T09:03:35Z","updated_at":"2016-02-04T11:38:03Z","closed_at":"2016-02-04T11:38:03Z","body":"If a course has modules assigned to it, but none of its lessons are assigned to modules, I see this error when saving the lesson order:\r\n\r\n`Notice: Undefined index: lesson-order-module-11 in /srv/www/sensei-master/htdocs/wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 1271`\r\n\r\n![screen shot 2015-12-15 at 09 02 37](https://cloud.githubusercontent.com/assets/1990037/11806400/a5a08504-a30a-11e5-9f61-1956c03eae61.png)\r\n"}}