Changeset 895 for trunk/Modules/User/UserPage.php
- Timestamp:
- Jan 12, 2021, 10:29:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserPage.php
r887 r895 21 21 function ShowContacts(): string 22 22 { 23 if (!$this->System->ModuleManager->ModuleRunning('Subject')) return ''; 24 23 25 $Query = 'SELECT `Contact`.`Value`, `Contact`.`Description`, (SELECT `Name` FROM `ContactCategory` WHERE `ContactCategory`.`Id` = `Contact`.`Category`) AS `Category` '. 24 26 'FROM `Contact` WHERE `User` = '. … … 39 41 $Order = GetOrderTableHeader('Contacts', $TableColumns, 'Value', 0); 40 42 $Output .= $Order['Output']; 41 42 43 $Query = $Query.' '.$Order['SQL'].$PageList['SQLLimit']; 43 44 44 $DbResult = $this->Database->query($Query); 45 45 while ($Contact = $DbResult->fetch_assoc()) … … 49 49 '<td>'.$Contact['Value'].'</td>'. 50 50 '<td>'.$Contact['Description'].'</td>'. 51 '</tr>';51 '</tr>'; 52 52 } 53 53 $Output .= '</table>';
Note:
See TracChangeset
for help on using the changeset viewer.