Skip to content

Commit

Permalink
Fixed php errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Mar 28, 2017
1 parent 8baf848 commit ee3c048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/mumble/mumbleChannelViewer.php
Expand Up @@ -17,7 +17,7 @@ class MumbleChannelViewer
* @param string $dataFormat The format the data will be in (i.e. xml or json).
* @return string An HTML unordered list containing all of the channels and users currently connected to the Mumble server.
*/
static function render($dataUri, $dataFormat = "json", $linkUri)
static function render($dataUri, $dataFormat = "json", $linkUri = false)
{
if ($dataFormat == "json")
return self::renderJson($dataUri, $linkUri);
Expand All @@ -32,7 +32,7 @@ static function render($dataUri, $dataFormat = "json", $linkUri)
* @param string $jsonUri URI that will return information about a Mumble server in JSON format.
* @return string An HTML unordered list containing all of the channels and users currently connected to the Mumble server.
*/
protected static function renderJson($jsonUri, $linkUri)
protected static function renderJson($jsonUri, $linkUri = false)
{
$httpOptions = array(
'http' => array(
Expand Down Expand Up @@ -60,7 +60,7 @@ protected static function renderJson($jsonUri, $linkUri)
* @param bool $renderUl True if an opening UL tag has aleady been generated (i.e. this usually happens when $currentChannel is not the first channel in the list of subchannels); otherwise, false.
* @return string An HTML unordered list containing all of the subchannels and users.
*/
protected static function renderChannel($currentChannel, $renderUl, $linkUri) {
protected static function renderChannel($currentChannel, $renderUl, $linkUri=false) {
$output = null;
if ($renderUl)
$output .= "<ul>";
Expand Down

0 comments on commit ee3c048

Please sign in to comment.