diff options
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index ee5518536..7adbcaab2 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1767,13 +1767,15 @@ function _system_sql($data, $keys) { } /** - * Menu callback: return information about PHP. + * Menu callback: return information about the database. */ function system_sql() { $result = db_query("SHOW STATUS"); while ($entry = db_fetch_object($result)) { - $data[$entry->variable_name] = $entry->value; + // 'SHOW STATUS' returns fields named 'Variable_name' and 'Value', + // case is important. + $data[$entry->Variable_name] = $entry->Value; } $output = '<h2>'. t('Command counters') .'</h2>'; |