Skip to content

Commit

Permalink
MDL-14428 fixed tag cron warning; merged from MOODLE_19_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Apr 19, 2008
1 parent 258e04c commit 423a71b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tag/lib.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 423a71b

Please sign in to comment.