- Patch #147761 by ChrisKennedy: SQL bugfix.
parent
97a09cb998
commit
95a84de389
|
@ -196,7 +196,7 @@ function dblog_top($type) {
|
|||
array('data' => t('Message'), 'field' => 'message')
|
||||
);
|
||||
|
||||
$result = pager_query("SELECT COUNT(wid) AS count, message, variables FROM {watchdog} WHERE type = '%s' GROUP BY (message, variables) ". tablesort_sql($header), 30, 0, "SELECT COUNT(DISTINCT(message)) FROM {watchdog} WHERE type = '%s'", $type);
|
||||
$result = pager_query("SELECT COUNT(wid) AS count, message, variables FROM {watchdog} WHERE type = '%s' GROUP BY message, variables ". tablesort_sql($header), 30, 0, "SELECT COUNT(DISTINCT(message)) FROM {watchdog} WHERE type = '%s'", $type);
|
||||
|
||||
$rows = array();
|
||||
while ($dblog = db_fetch_object($result)) {
|
||||
|
|
Loading…
Reference in New Issue