Permalink
Browse files

Slightly better

  • Loading branch information...
moodler
moodler committed Aug 21, 2003
1 parent 5640353 commit 356fea4a642bfb65872d568e116c36287599803c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -1199,7 +1199,7 @@ function get_courses_search($searchterms, $sort="fullname ASC", $page=0, $record
}
$selectsql = "{$CFG->prefix}course WHERE ($fullnamesearch OR $summarysearch) and category > 0";
$selectsql = "{$CFG->prefix}course WHERE ($fullnamesearch OR $summarysearch) AND category > '0'";
$totalcount = count_records_sql("SELECT COUNT(*) FROM $selectsql");

0 comments on commit 356fea4

Please sign in to comment.