Ignore:
Timestamp:
Apr 6, 2020, 11:17:40 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code format.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigAirOS/Generators/Signal.php

    r856 r873  
    1313      '(SELECT `LocalIP` FROM `NetworkInterface` WHERE `NetworkInterface`.`Device` = `NetworkDevice`.`Id` LIMIT 1) AS `LocalIP` '.
    1414      'FROM `NetworkDevice` WHERE (`API` = 2) AND (`Used` = 1)');
    15     while($Device = $DbResult3->fetch_assoc())
     15    while ($Device = $DbResult3->fetch_assoc())
    1616    {
    1717      echo($Device['LocalIP']."");
     
    2525      //print_r($Array);
    2626      echo('-');
    27       foreach($Array as $Properties)
     27      foreach ($Array as $Properties)
    2828      {
    2929        $DbResult = $this->Database->select('NetworkInterface', 'Id', '`MAC`="'.$Properties['mac'].'"');
    30         if($DbResult->num_rows > 0)
     30        if ($DbResult->num_rows > 0)
    3131        {
    3232          $DbRow = $DbResult->fetch_assoc();
Note: See TracChangeset for help on using the changeset viewer.