diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-09 10:11:55 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-09 10:11:55 +0000 |
commit | 66ec14993ba82a0d977e14de24bf5c47a6db4597 (patch) | |
tree | 8a70cf3c2bc5fab68088d9276f21166a8812c019 /modules/system/system.admin.inc | |
parent | 0a26c901ef0179de57653e3e49e037ca357a186a (diff) | |
download | brdo-66ec14993ba82a0d977e14de24bf5c47a6db4597.tar.gz brdo-66ec14993ba82a0d977e14de24bf5c47a6db4597.tar.bz2 |
#207868 by cwgordon7, webernet and myself: SQL status page was using wrong property names
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>'; |