diff options
Diffstat (limited to 'code/nav.inc.php')
-rw-r--r-- | code/nav.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/nav.inc.php b/code/nav.inc.php index 59f4c8d..1a4a5bd 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -8,7 +8,7 @@ var $entries = array(); function Nav() { - $res = DBQuery('SELECT * FROM nav ORDER BY id'); + $res = $GLOBALS['db']->Query('SELECT * FROM nav ORDER BY id'); while(!$res->EOF) { $this->entries[$res->fields[0]] = new NavEntry($res->fields[1], $res->fields[2], $res->fields[3]); |