WHERE '1' is not cross-db. MDL-8280

This commit is contained in:
stronk7
2007-01-23 16:09:00 +00:00
parent 5cd2273fe1
commit c4b654bc3c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -216,7 +216,7 @@
}
/// Update the custom user fields
if ($categories = get_records_select('user_info_category', '1', 'sortorder ASC')) {
if ($categories = get_records_select('user_info_category', '', 'sortorder ASC')) {
foreach ($categories as $category) {
if ($fields = get_records_select('user_info_field', "categoryid=$category->id", 'sortorder ASC')) {