openrat-cms

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

commit 42e0f0bb465e4b54d0b7e3c779743ba33217f8a0
parent 170ca057ca8394c2ff054828ed5eeaf924d77f7b
Author: dankert <devnull@localhost>
Date:   Fri, 28 Jan 2005 23:19:35 +0100

Korrektur Datenbank-Id im Info-Element

Diffstat:
objectClasses/Value.class.php | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/objectClasses/Value.class.php b/objectClasses/Value.class.php @@ -1112,13 +1112,15 @@ class Value $inhalt = ''; break; case 'edit_url': - $inhalt = Html::url('index','object',$this->page->objectid,array('dbid'=>$db->dbid)); + $db = Session::getDatabase(); + $inhalt = Html::url('index','object',$this->page->objectid,array('dbid'=>$db->id)); break; case 'edit_fullurl': $inhalt = 'http://'; $inhalt .= getenv('SERVER_NAME'); $inhalt .= dirname(getenv('SCRIPT_NAME')); - $inhalt .= '/'.Html::url('index','object',$this->page->objectid,array('dbid'=>$db->dbid));; + $db = Session::getDatabase(); + $inhalt .= '/'.Html::url('index','object',$this->page->objectid,array('dbid'=>$db->id)); break; case 'lastch_user_username': $user = new User($this->page->lastchange_userid);