Project

General

Profile

« Previous | Next » 

Revision 144

Added by ryan about 19 years ago

Updated tool-handling code

View differences:

index.php
125 125

  
126 126
// Insert groups into signup list
127 127
$template->set_block('main_block', 'tool_list_block', 'tool_list');
128
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."modules WHERE type = 'tool'");
128
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'tool'");
129 129
$tool_list_empty=true;
130 130
if($results->numRows() > 0) {
131 131
	while($tool = $results->fetchRow()) {

Also available in: Unified diff