Project

General

Profile

« Previous | Next » 

Revision 973

Added by Matthias over 15 years ago

Fixed bug with dropdownlist in pages settings (ticket #713)

View differences:

settings.php
323 323
}
324 324
// Templates list
325 325
$template->set_block('main_block', 'template_list_block', 'template_list');
326
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' order by name");
326
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' and function = 'template' order by name");
327 327
if($result->numRows() > 0) {
328 328
	while($addon = $result->fetchRow()) { 
329 329
		// Check if the user has perms to use this template

Also available in: Unified diff