MDL-35982 blog: prevent index throwing errors with 0 courseid
authorDan Poltawski <dan@moodle.com>
Fri, 30 Oct 2015 14:14:24 +0000 (14:14 +0000)
committerDan Poltawski <dan@moodle.com>
Thu, 26 Nov 2015 14:10:25 +0000 (14:10 +0000)
commitafb7ec92ff23afdc229d89a29fcc3e73ef785266
tree228d6d30a3436e3280ae8136040b7c0e5cf11194
parentc18acb8997ce6d2896ab54872ea3126c64a8c937
MDL-35982 blog: prevent index throwing errors with 0 courseid

Regression from MDL-49845 where Dave made the page not handle courseid = 0
and so now some urls will send you back to a db error..
blog/index.php