MDL-63658 core_favourites: fix errors discovered on oracle db
authorJake Dallimore <jake@moodle.com>
Thu, 18 Oct 2018 09:11:07 +0000 (17:11 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 18 Oct 2018 09:11:07 +0000 (17:11 +0800)
commit21b50ebe1968d8476cedeb011fd334e5fbd09091
treea84e9309eada5141f64b0f8fdab70e4044211bff
parent68eaa3150eadece016c5504e0e8a7a885ffbf992
MDL-63658 core_favourites: fix errors discovered on oracle db

- Assuming 1 would be a record that didn't exist. should be using 0.
- Missing space before AND in sql in provider.
favourites/classes/privacy/provider.php
favourites/tests/repository_test.php