openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 05d13aaa8d1b727da95efb3feb5d7113a5864e5f
parent c9ef5325e4e0c10e631e41802d0dbb452f36afbe
Author: dankert <devnull@localhost>
Date:   Tue, 20 Mar 2012 21:22:00 +0100

Datenbankverbindung direkt aus der Sitzung laden, da Funktionsbibliothek evtl. noch nicht geladen ist.

Diffstat:
util/Http.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/Http.class.php b/util/Http.class.php @@ -402,7 +402,7 @@ class Http */ function serverError($message,$reason='') { - $db = db_connection(); + $db = Session::getDatabase(); if ( is_object( $db ) ) $db->rollback();