summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/wake_on_lan.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/wake_on_lan.widget.php b/usr/local/www/widgets/widgets/wake_on_lan.widget.php
index bb253d0..2d9851b 100644
--- a/usr/local/www/widgets/widgets/wake_on_lan.widget.php
+++ b/usr/local/www/widgets/widgets/wake_on_lan.widget.php
@@ -49,7 +49,7 @@ if (count($wolcomputers) > 0) {
echo '<tr><td class="listlr">' . $wolent['descr'] . '<br />' . $wolent['mac'] . '</td>' . "\n";
$wolifname = $config['interfaces'][$wolent['interface']]['descr'];
if ( empty( $wolifname ) ){
- $wolifname = ucase($wolent['interface']);
+ $wolifname = strtoupper($wolent['interface']);
}
echo '<td class="listr">' . $wolifname . '</td>' . "\n";
OpenPOWER on IntegriCloud