MDL-14428 fixed tag cron warning; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-04-19 09:52:45 +00:00
parent 258e04cd22
commit 423a71b6d5
+3 -1
View File
@@ -699,7 +699,9 @@ function tag_compute_correlations($min_correlation=2) {
global $CFG;
$all_tags = get_records_list('tag');
if (!$all_tags = get_records_list('tag')) {
return;
}
$tag_correlation_obj = new object();
foreach($all_tags as $tag) {