Minor - fixing PHP notice

skala
Julio Montoya 12 years ago
parent 374d63d4e5
commit 8d9a51233d
  1. 4
      whoisonline.php

@ -93,7 +93,7 @@ $(document).ready(function() {
</script>';
if ($_GET['chatid'] != '') {
if (isset($_GET['chatid']) && !empty($_GET['chatid'])) {
//send out call request
$time = time();
$time = date("Y-m-d H:i:s", $time);
@ -114,6 +114,8 @@ if ($_GET['chatid'] != '') {
}
}
$social_right_content = null;
// This if statement prevents users accessing the who's online feature when it has been disabled.
if ((api_get_setting('showonline', 'world') == 'true' && !$_user['user_id']) || ((api_get_setting(
'showonline',

Loading…
Cancel
Save