diff options
author | neoraider <devnull@localhost> | 2006-02-11 01:31:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-02-11 01:31:03 +0100 |
commit | 446b94d9cd09003903a270619f368cba0b7ca594 (patch) | |
tree | 6fdb044813f4f07d365a05e4dbdb537c6bfdf13c /code/nav.inc.php | |
parent | af3aaf3630d4634a85d7d912f751f3bf36633278 (diff) | |
download | neon-446b94d9cd09003903a270619f368cba0b7ca594.tar neon-446b94d9cd09003903a270619f368cba0b7ca594.zip |
DB-Funktionen durch Klasse gekapselt.
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]); |