Git commits in Moodle 3.0.2 by Conn

commit 31328e3edeabe0429d2b9a1896def7102287dc44
Author: Conn <conn@cmrwarwicker.com>
Date:   Fri, 03 Apr 2015 06:54:03 +0800
Tag:    v3.0.2

MDL-49743 singleview: Prevent errors when no itemid was selected