Ignore:
Timestamp:
Apr 8, 2020, 7:27:09 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Error during user registration.
  • Fixed: Error on user enter to new team.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r883 r884  
    150150  function Link($Target)
    151151  {
    152     $Remaining = substr($Target, strlen($this->BaseURL));
     152    if (substr($Target, 0, strlen($this->BaseURL)) == $this->BaseURL)
     153      $Remaining = substr($Target, strlen($this->BaseURL));
     154      else $Remaining = $Target;
    153155    $TargetParts = explode('/', $Remaining);
    154     if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 
     156    if ((count($TargetParts) > 0) and ($TargetParts[0] == ''))
    155157      array_splice($TargetParts, 0, 1);
    156158    if (count($TargetParts) > 0)
Note: See TracChangeset for help on using the changeset viewer.