Fix php warning

ea9c165242
pull/2487/head
jmontoyaa 9 years ago
parent 4437374a64
commit aed449bb7d
  1. 2
      plugin/vchamilo/lib/Virtual.php

@ -125,7 +125,7 @@ class Virtual
) {
$protocol = 'https';
} else {
if ($_SERVER['HTTPS']) {
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']) {
$protocol = 'https';
} else {
$protocol = 'http';

Loading…
Cancel
Save