Fix for bug 2377:
authordefacer <defacer>
Mon, 17 Jan 2005 14:26:17 +0000 (14:26 +0000)
committerdefacer <defacer>
Mon, 17 Jan 2005 14:26:17 +0000 (14:26 +0000)
commit3cacefda86239f9e05d9f776b15bbfe01d25145f
tree14eee3aa604603aa710ba3ee51962381279cb21e
parent8dd3a58bf56b12fa5ed29820d56e38e02e9c8570
Fix for bug 2377:

Make it more difficult for instances with invalid blockid to be added to
mdl_block_instance. This could result in warnings, although nothing more
serious than that.

Credits to Eloy and especially Dan Marsden for reporting and providing info.
lib/blocklib.php