Changeset 783 for trunk/Common/Global.php
- Timestamp:
- Jan 9, 2016, 12:33:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r782 r783 8 8 include_once(dirname(__FILE__).'/../Packages/Package.php'); 9 9 include_once(dirname(__FILE__).'/../Packages/Common/Common.php'); 10 include_once(dirname(__FILE__).'/Page.php');11 10 include_once(dirname(__FILE__).'/Table.php'); 12 11 include_once(dirname(__FILE__).'/Form/Form.php'); … … 368 367 global $Database; 369 368 370 $DbResult = $Database->query('SELECT Id FROM MemberWHERE '.371 '(SELECT Member FROM NetworkDevice WHERE (SELECT Device FROM NetworkInterface'.372 'WHERE LocalIP = "'.$IP.'") = NetworkDevice.Id) = Member.Id');369 $DbResult = $Database->query('SELECT `Id` FROM `Member` WHERE '. 370 '(SELECT `Member` FROM `NetworkDevice` WHERE (SELECT `Device` FROM `NetworkInterface` '. 371 'WHERE `LocalIP` = "'.$IP.'") = `NetworkDevice`.`Id`) = `Member`.`Id`'); 373 372 if($DbResult->num_rows > 0) 374 373 {
Note:
See TracChangeset
for help on using the changeset viewer.