diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-13 20:10:17 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-13 20:10:17 +0000 |
| commit | f3234366d63fc2789dcccd22308240e681b552c9 (patch) | |
| tree | 26a51b5ffb63d8820b5bac0efe1d343f04c6879a | |
| parent | 4a3b1c212259282f0175703279dc7dfce6af266e (diff) | |
| download | nexus-f3234366d63fc2789dcccd22308240e681b552c9.tar.gz nexus-f3234366d63fc2789dcccd22308240e681b552c9.tar.bz2 nexus-f3234366d63fc2789dcccd22308240e681b552c9.zip | |
fix nexus menus for now - need to fully load() every object that we can getDisplayLink() as it's not standardised throughout. this should be amended some time soon.
| -rw-r--r-- | Nexus.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * * @abstract * @author xing <xing@synapse.plus.com> -* @version $Revision: 1.22 $ +* @version $Revision: 1.23 $ * @package nexus */ @@ -345,13 +345,16 @@ class Nexus extends NexusSystem { $type['content_object'] = new $type['handler_class'](); } - $ret = $type['content_object']->getDisplayUrl( NULL, $row ); + $type['content_object']->mContentId = $row['content_id']; + $type['content_object']->load(); + $ret = $type['content_object']->getDisplayUrl(); break; case 'structure_id': $ret .= BIT_ROOT_URL.'index.php?structure_id='.$pItemHash['rsrc']; break; } } + vd($ret); return $ret; } |
