Changeset 53 for branches/old/index.php
- Timestamp:
- Feb 20, 2015, 9:38:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/old/index.php
r52 r53 157 157 $Output .= '<br>'; 158 158 159 $Result = $Database->select('measure', ' id', '(Enabled=1) AND ((PermissionView="all") OR (PermissionView="'.gethostbyaddr($_SERVER['REMOTE_ADDR']).'")) WHERE Id='.$_SESSION['Measure']);159 $Result = $Database->select('measure', 'Id', '(Enabled=1) AND (PermissionView="all") OR (PermissionView="'.gethostbyaddr($_SERVER['REMOTE_ADDR']).'") AND (Id='.$_SESSION['Measure'].')'); 160 160 if($Result->num_rows == 0) $_SESSION['Measure'] = $Config['DefaultVariables']['Measure']; 161 161
Note:
See TracChangeset
for help on using the changeset viewer.