openrat-cms

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

commit dd7327735d750f0ddb5d2708cb0a55841cf9a500
parent 1914ed4b8b1e47f925786e22b83ff39b631ba404
Author: dankert <devnull@localhost>
Date:   Sat,  4 Sep 2010 01:24:51 +0200

Fix: Die Model-Id an verlinkte Objekte ├╝bertragen, damit die Link-URLs auf die korrekte Variante zeigen.

Diffstat:
objectClasses/Page.class.php | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/objectClasses/Page.class.php b/objectClasses/Page.class.php @@ -200,6 +200,7 @@ class Page extends Object $p = new Page( $objectid ); $p->languageid = $this->languageid; + $p->modelid = $this->modelid; $p->cut_index = $cut_index; $p->content_negotiation = $content_negotiation; $p->withLanguage = $this->withLanguage; @@ -229,6 +230,7 @@ class Page extends Object case 'page': $p = new Page( $link->linkedObjectId ); $p->languageid = $this->languageid; + $p->modelid = $this->modelid; $p->cut_index = $cut_index; $p->content_negotiation = $content_negotiation; $p->load();