From 446b94d9cd09003903a270619f368cba0b7ca594 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 11 Feb 2006 00:31:03 +0000 Subject: DB-Funktionen durch Klasse gekapselt. --- code/nav.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/nav.inc.php') 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]); -- cgit v1.2.3