Changeset 858 for trunk/Modules


Ignore:
Timestamp:
May 8, 2019, 7:59:39 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Missing intialization of some variables.
  • Fixed: Missing appmodule dependencies.
Location:
trunk/Modules
Files:
4 edited

Legend:

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

    r855 r858  
    142142    $this->System->RegisterPage(array('network', 'frequency-plan'), 'PageFrequencyPlan');
    143143
    144     $this->System->RegisterCommandLine('config', array($this, 'ImportNetworkLog'));
     144    $this->System->RegisterCommandLine('networklogimport', array($this, 'ImportNetworkLog'));
    145145
    146146    $this->System->FormManager->RegisterClass('NetworkDomainAlias', array(
  • trunk/Modules/NetworkTopology/topologie2.php

    r738 r858  
    119119      imageline($this->Image, $ParentHostPos['x'], $ParentHostPos['y'] + $this->HostHeight * 0.5, $HostPos['x'], $ParentHostPos['y']  + $this->HostHeight * 0.5, $this->LineColor);
    120120      imageline($this->Image, $HostPos['x'], $ParentHostPos['y'] + $this->HostHeight * 0.5, $HostPos['x'], $HostPos['y'], $this->LineColor);
    121       $this->DrawNode(&$Host['subitems'][$Index]);
     121      $this->DrawNode($Host['subitems'][$Index]);
    122122      imagecopy($this->Image, $this->ImageComputer, $HostPos['x'] - imagesx($this->ImageComputer) * 0.5, $HostPos['y'] - imagesy($this->ImageComputer) * 0.5, 0, 0, 30, 30);
    123123      imagestring($this->Image, 2, $HostPos['x'] - (strlen($SubHost['name']) * imagefontwidth(2)) / 2, $HostPos['y'] + imagesy($this->ImageComputer) * 0.5, $SubHost['name'], $this->TextColor);
  • trunk/Modules/Portal/Portal.php

    r790 r858  
    1313    $this->License = 'GNU/GPLv3';
    1414    $this->Description = 'Community portal.';
    15     $this->Dependencies = array('News');
     15    $this->Dependencies = array('News', 'User');
    1616  }
    1717
  • trunk/Modules/User/User.php

    r790 r858  
    4848  `HostName` varchar(255) NOT NULL DEFAULT '',
    4949  `ScriptName` varchar(255) NOT NULL,
     50  `StayLogged` INT NOT NULL,
     51  `StayLoggedHash` VARCHAR(40) NOT NULL,
    5052  PRIMARY KEY (`Id`),
    5153  KEY `User` (`User`)
Note: See TracChangeset for help on using the changeset viewer.