mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-46433-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
733d20a0e8
@ -180,9 +180,11 @@ function blog_sync_external_entries($externalblog) {
|
||||
$filtertags = array_map('trim', $filtertags);
|
||||
$filtertags = array_map('strtolower', $filtertags);
|
||||
|
||||
foreach ($categories as $category) {
|
||||
if (in_array(trim(strtolower($category->term)), $filtertags)) {
|
||||
$containsfiltertag = true;
|
||||
if (!empty($categories)) {
|
||||
foreach ($categories as $category) {
|
||||
if (in_array(trim(strtolower($category->term)), $filtertags)) {
|
||||
$containsfiltertag = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user