diff options
Diffstat (limited to 'frontends/php/maps.php')
| -rw-r--r-- | frontends/php/maps.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php index 87d0fd46..c18aac7f 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -91,11 +91,11 @@ include_once "include/page_header.php"; $all_maps = array(); - $result = DBselect('select sysmapid,name from sysmaps '. - ' where '.DBin_node('sysmapid'). - ' order by name'); - while($row=DBfetch($result)) - { + $result = DBselect('SELECT sysmapid,name '. + ' FROM sysmaps '. + ' WHERE '.DBin_node('sysmapid'). + ' ORDER BY name'); + while($row=DBfetch($result)){ if(!sysmap_accessiable($row["sysmapid"],PERM_READ_ONLY)) continue; |
