Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/SpeedTest/SpeedTest.php

    r873 r874  
    4141    if (count($this->System->PathItems) > 1)
    4242    {
    43       if ($this->System->PathItems[1] == 'download.php') return ($this->ShowDownload());
    44       //else if ($this->System->PathItems[1] == 'rss') return ($this->ShowRSS());
    45       else return (PAGE_NOT_FOUND);
    46     } else return ($this->ShowMain());
     43      if ($this->System->PathItems[1] == 'download.php') return $this->ShowDownload();
     44      //else if ($this->System->PathItems[1] == 'rss') return $this->ShowRSS();
     45      else return PAGE_NOT_FOUND;
     46    } else return $this->ShowMain();
    4747  }
    4848
     
    114114    print "</center>\n";
    115115}
    116     return ($Output);
     116    return $Output;
    117117  }
    118118}
Note: See TracChangeset for help on using the changeset viewer.