diff options
| author | Yugo Nagata | 2013-07-29 09:14:52 +0000 |
|---|---|---|
| committer | Yugo Nagata | 2013-07-29 09:14:52 +0000 |
| commit | f8bfa5d2a139b14904e29fb8b5e58554843dc5ae (patch) | |
| tree | fd58620ca40250d9ce60334ebc3b4101be6dc3fc | |
| parent | 84b7a785658c030f44f56cebcdbf66c83844481f (diff) | |
Fix a bug that watchdug status is shown as "Unknown" when it's "Down"V3_3
| -rw-r--r-- | innerWatchdog.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/innerWatchdog.php b/innerWatchdog.php index 8bb199d..31b9543 100644 --- a/innerWatchdog.php +++ b/innerWatchdog.php @@ -65,6 +65,9 @@ foreach ($watchdogInfo as $key => $info) { case WATCHDOG_ACTIVE: $watchdogInfo[$key]['status_str'] = $message['strWdActive']; break; + case WATCHDOG_DOWN: + $watchdogInfo[$key]['status_str'] = $message['strWdDown']; + break; default: $watchdogInfo[$key]['status_str'] = $message['strUnknown']; break; |
