Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2013-05-11 15:53:39 +0400
committerMarc Delisle <marc@infomarc.info>2013-05-11 15:53:39 +0400
commite5c00797bf491b0c77961189666bb3c002112b0e (patch)
tree71e191ca3b93a8b7c3b4854b38ceba4b49ffb00f /server_status.php
parent9966cedcdef4b67623a3f875a2e0f3ae542b6bd8 (diff)
Add missing variable (yes there is a one-line duplication)
Diffstat (limited to 'server_status.php')
-rw-r--r--server_status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/server_status.php b/server_status.php
index a701bcb901..328ff05bfa 100644
--- a/server_status.php
+++ b/server_status.php
@@ -84,7 +84,6 @@ function getServerTrafficHtml($ServerStatusData)
*/
function getServerStateGeneralInfoHtml($ServerStatusData)
{
- $hour_factor = 3600 / $ServerStatusData->status['Uptime'];
$start_time = PMA_DBI_fetchValue(
'SELECT UNIX_TIMESTAMP() - ' . $ServerStatusData->status['Uptime']
);
@@ -164,6 +163,7 @@ function getServerStateGeneralInfoHtml($ServerStatusData)
*/
function getServerStateTrafficHtml($ServerStatusData)
{
+ $hour_factor = 3600 / $ServerStatusData->status['Uptime'];
$retval = '<table id="serverstatustraffic" class="data noclick">';
$retval .= '<thead>';
$retval .= '<tr>';
@@ -252,6 +252,7 @@ function getServerStateTrafficHtml($ServerStatusData)
*/
function getServerStateConnectionsHtml($ServerStatusData)
{
+ $hour_factor = 3600 / $ServerStatusData->status['Uptime'];
$retval = '<table id="serverstatusconnections" class="data noclick">';
$retval .= '<thead>';
$retval .= '<tr>';